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
I noticed that if Unity calls some native javascript code, and that throws an error, the error doesn't propagate automatically in my C# code, so I can't wrap my own code in some try catch.
How do you guys deal with this situation?
The text was updated successfully, but these errors were encountered:
What should I do here, catch the errors on JS side and send to unity?
That sounds reasonable. Essentially it might be cool to differentiate between a Unity error and a JavaScript error.
So an interesting idea would be to throw an Error in C# with
I noticed that if Unity calls some native javascript code, and that throws an error, the error doesn't propagate automatically in my C# code, so I can't wrap my own code in some try catch.
How do you guys deal with this situation?
The text was updated successfully, but these errors were encountered: