Hey @janine !
Thanks for your reply. I have in fact tried that out. Through further profiling I have also found out that its not necessarily a problem on the Unity side of things. It seems memory there is released properly.
My working theory is that this might perhaps be a memory leak in Cesium-Native on the web. Or perhaps, it is just silly JavaScript behaviour…
I have taken a screen capture, for better understanding.
As you can see, the memory inside Unity is under control. In fact I have capped the max memory for the WASM Language Feature at 1024 (which is never reached). On the Browser side however, the total JS Heap Size quickly climbs beyond 4GB.