Is there a way to see memory usage from a script while running in WebGL? I’m supposed to gracefully stop the app if memory usage passes a certain threshold.
You can use “System.GC.GetTotalMemory(false)” in your Unity code, but I’m not sure how to directly profile memory in the javascript build from the WebGL context