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
ideally the system would allow some logging in the Editor .. Editor runs playcanvas.js so no debugging and user gets no feedback there .. ideally we have a log window there and some messages would show up in it. For example user bakes light and we print list of meshes that have no uv. Or he attaches animation and we log non-matching bones and similar.
Regarding Editor, it feels like engine can assist on providing information, but then it is Editor responsibility to gather the information and present an UI with it.
It used to be that engine indulged special code with "inTools" check, it felt bad, and not obvious to maintain.
Browser Dev Tools should not be a go-to tool for debugging in Editor, as we can have much better UX for specific things in Editor.
Should the Editor always run on playcanvas.dbg.js perhaps? What are the down sides to that?
Debugging Editor and having Editor related console logs can be mixed/lost within logs from engine.
It would be weird to expect developers to use browser dev tools in Editor. It is completely fine to use it in Launcher as it tries to be as close to published project.
Errors take place in the engine - asset does not load, parameter is invalid ..
I'd be good to agree on how errors should be imported, what builds (only in DEBUG?) and similar, and write up the decision into CONTRIBUTING.md.
related to #2529
The text was updated successfully, but these errors were encountered: