145place
0 votes Vote

OutOfMemory app crash when flying one way using infinite terrain (app crash)

Hi,

thank you for the great product. I have find critical bug in your product related to memory usage.
Create simple scene with minimal map size (e.g. 32x32) and just fly away and let the infinite generator genrate tiles as it is fly. If you open Memory Profiler you will realize that
Textures (count) & Meshed (count) is not stable but it is increasing and also memery is increasing that leads to app crash on e.g. mobile device with OutOfMemory Exception.
I realized that there must be some issue with reusing Terrain data, behind the scene old texture & meshed is not release by unity and they are kept in the memory.

I have tested it in Unity 2021.3.9f1, Map Magic 2 downloaded from Assetstore.
Graph can be really simple, just flat height = 1, nothing fancy.
Tile size to minimum size 32x32.

Miroslav Poul , 10.11.2022, 13:26
Idea status: under consideration

Comments

Leave a comment