- Home /
Question by
ShimonKinkajoo · Jan 05, 2017 at 06:09 PM ·
webglmemory
Can i catch the WebGL Memory size error?
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
Comment
I am also trying to figure this out. Did you find an answer?
Answer by monark · Mar 20, 2017 at 04:57 PM
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.