[Check the original post at Unity Save Memory Within OnDisable]
One of my students, Ryan, asked me last week how he could rescue the memory Unity was stealing from his game because of disabled game objects. Luckily, he was using Addressables, so I prepared an experiment...
In this post you'll learn:
- When is it ok to have deactivated GameObject's
- Why disabled GameObjects pose a threat to memory
- How to get your memory back without destroying them
Ready?

With Unity, there are many reasons you might want to deactivate entire GameObject hierarchies in your scenes...
- Maybe you don't …