Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Unity Terrain IOS holding onto textures in memory

Discussion in 'Editor & General Support' started by Mustard-Design, Jan 3, 2023.

  1. Mustard-Design


    Jan 14, 2014
    We recently started working on a project that uses the terrain system to create a large map.

    However, we seem to have discovered on iOS devices when unloading that scene the splat maps and other texture2D files appear to be staying in memory (700m worth).

    we have tried to deploy, garbage collection, as well as trying to manually destroy game, objects and associated textures. However, nothing seems to be working and these assets are continuing to clog up device memory.

    Has anyone else come across this issue? We are unable to replicate on android or in editor. This appears to be iOS related issue.
  2. alexeyzakharov


    Unity Technologies

    Jul 2, 2014
    Hi @Mustard-Design! Did you have a chance to try Memory Profiler? If you take snapshot on the device you may be able to see what is holding the texture in memory in the references panel.