Changing core gridTemplates setting when there is no scene causes an error in the console #10915
Closed
2 of 6 tasks
Labels
Milestone
What happened?
Users have reported an error in the console as part of my workaround for #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.
The text was updated successfully, but these errors were encountered: