Public issue tracking and documentation for Foundry Virtual Tabletop - software connecting RPG gamers in a shared multiplayer environment with an intuitive interface and powerful API.
Users have reported an error in the console as part of my workaround for https://github.com/foundryvtt/foundryvtt/issues/10683. After tracking it down it appears the error occurs in core foundry, and only on the first world load, because its triggered by the onChange event.
What ways of accessing Foundry can you encounter this issue in?
[X] Native App (Electron)
[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] Other
Reproduction Steps
When you change the gridTemplates setting (Grid Based Template Shapes) and there is no scene active, there is an error in the console.
[X] The issue occurs while all Modules are disabled
Tangential
I don't know if I should report this, but it seems that the onChange event in the registered setting still triggers if you're changing a setting to the default when its currently unset, even though there is no actual change.
What happened?
Users have reported an error in the console as part of my workaround for https://github.com/foundryvtt/foundryvtt/issues/10683. After tracking it down it appears the error occurs in core foundry, and only on the first world load, because its triggered by the onChange event.
What ways of accessing Foundry can you encounter this issue in?
Reproduction Steps
When you change the gridTemplates setting (Grid Based Template Shapes) and there is no scene active, there is an error in the console.
What core version are you reporting this for?
12.322
Relevant log output
Bug Checklist
Tangential
I don't know if I should report this, but it seems that the onChange event in the registered setting still triggers if you're changing a setting to the default when its currently unset, even though there is no actual change.