Every now and again I get the following error on the WebGL build of my project:
The stack trace is not of much help to me since it contains “locations” like
and I am a bit at a loss about how to narrow down the search for the problem.
The second line in the stacktrace mentions _DownloadHandler_get_text which I assume refers to the DownloadHandlers text property, but it doesn’t really help me find the cause of the problem.
If anybody has any tipps on how to narrow down the search, I would greatly appreciate it.
More details in case they help
The project uses Mirror for networking, and the szene contains triangles which move to mouse click positions. It seems that the error occurs after such a click. The problem is not really common, but not rare either, but I could not find a way to reproduce it yet. The WebGL build is a development build.
Unfortunately there is not much to go on here in terms of suggesting guidance on how to reproduce. If you have the full callstack next time it happens and can print it out here, that might help figure out what the flow is that causes it, and then try stressing that path in more ways.
This issue does look like something we would need a bug report about. Any chance you’d be able to submit a bug report with a test case?
There is one issue related to garbage collection that I recall was fixed not that long ago, that would occassionally throw a crash in coroutines. The fix should be available in the latest point releases. You might try updating to the latest point release if you aren’t already, and see if that might affect the issue.
Hey guys, I get this issue from a default URP build. I always thought WebGL was just broken for a couple of years now. Everytime I use it, I get similar errors.