The SurfaceManager has a dictionary of Terrains, m_ColliderTerrainMap. Terrains are added to the dictionary the first time a texture lookup is done.
When a terrain is unloaded from the game, it's reference is not removed from this dictionary. The terrain will still unload from memory, but this leaves a null entry in the dictionary.
The impact of this is negligible. I only raise it because these things are tricky to spot and I thought you might want to add it to your low priority backlog.
When a terrain is unloaded from the game, it's reference is not removed from this dictionary. The terrain will still unload from memory, but this leaves a null entry in the dictionary.
The impact of this is negligible. I only raise it because these things are tricky to spot and I thought you might want to add it to your low priority backlog.