I assume some users, with weaker machines, get the error message when the browser fails to allocate enough memory to unpack the game.
My question is: is there a way (probably some JS hack) to catch this error? Since it’s not exactly a crash, but it gives a well defined message, i would like to replace it with my own message, or at least send some analytics data about this event
We used UnityErrorHandler in the end to catch it. I don’t know the full details as it wasn’t me that implemented it. Apparently that is a built in Unity error catching event.