WebGL builds in my project, build and run. The game works as expected, but, only in WebGL, after around 20 minutes the browser throws a modal error window with the following error:
After closing the modal window, the browser console starts throwing a new error saying:
Overall the error gives me zero information on where and how it is being generated for me to pinpoint and fix it.
The error does not happen in the editor and other types of builds, which makes me think this is a problem with the cpp side of unity, and a bug.
Does anyone know what is going on and how to fix it?
Thank you for your help
The error is so rare, I’ve fixed a number of things in the project since I posted this and the error did not appear again.
But I think your answer is valuable, if it happens again I’ll try to search in the codebase if we have some colors that might be causing the problem