I’m trying to track down why some assets that are not used in the current scene are being kept in memory between scene changes, which is causing my memory overhead to get pretty large.
I’m using the UnityAssetsXrefs script from the Unify wiki, and when I check for scene references to these assets, it says that “ResourceManager” is the only object in my scene that has a reference to these assets.
Thing is, I don’t have a ResourceManager class in my code, and I can’t find one exposed in Unity’s API. Is this an internal Unity class of some sort? And if so, how can I stop it from referencing assets that it doesn’t need to be referencing?
Any insight would be a great help to sorting out some memory optimization stuff we are trying to do. Thanks!