-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discuss console.error use in the engine and update CONTRIBUTING.md with the decision #2734
Comments
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. |
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: