The editor’s statistics read “VRAM Usage: 8 mb of x mb (of unknown)” and that x number keeps climbing all the way to 1.34 gb where it crashes the entire editor. I’m assuming for some reason the game is exhausting video memory but I can’t see why.
My game generates meshes from voxel data then destroys and recreates the mesh when it needs to be regenerated.
The meshes get destroyed by calling Destroy() on their gameobjects. What could be causing this apparent memory leak?