You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Cubos class methods abort in case of configuration inconsistencies/errors, e.g., due to registering a component twice, or missing a plugin dependency.
This is a problem when loading applications into Tesseratos - if a buggy/incomplete game is loaded into the editor and run, it could crash the editor itself, and the dev may lose work.
Solution
The Cubos class should hold a 'failed' flag or something similar. When it fails, it logs an error, and sets the flag, making all further operations do nothing.
Then we should have a method to check whether the app is in a valid state.
If run is called even with an invalid app, abort should be called.
The text was updated successfully, but these errors were encountered:
Problem
Currently the Cubos class methods abort in case of configuration inconsistencies/errors, e.g., due to registering a component twice, or missing a plugin dependency.
This is a problem when loading applications into Tesseratos - if a buggy/incomplete game is loaded into the editor and run, it could crash the editor itself, and the dev may lose work.
Solution
The Cubos class should hold a 'failed' flag or something similar. When it fails, it logs an error, and sets the flag, making all further operations do nothing.
Then we should have a method to check whether the app is in a valid state.
If run is called even with an invalid app, abort should be called.
The text was updated successfully, but these errors were encountered: