Before Unity2021, we could use the following code to obtain the Memory Heap value, but it seems to be invalid now.
Are the memory heap values not exposed to the js glue layer?
Before Unity2021, we could use the following code to obtain the Memory Heap value, but it seems to be invalid now.
Are the memory heap values not exposed to the js glue layer?
You can always get the “buffer” in a jslib/jspre file, and get the length
I’m also interested in a working example to get WebGLMemoryStats to work in 2021.2