Hi,
I am loading lots of Texture2D (more than 1000), and I am going too height in memory.
In the Editor, I can use Resources.unloadunusedassets() or EditorUtility.UnloadUnusedAssets () so that the memory remains stable, and everything works fine.
However, EditorUtility.UnloadUnusedAssets () is not possible in standalone, and Resources.unloadunusedassets() just crashes my app…
I tried to use :
Destroy(object);
Resources.unloadasset(object);
Resources.unloadunusedassets()
but it freezes anyway (Application not responding).
I a m trying it on Mac standalone. Any idea?
Cheers,
Nicolas