High Memory Usage

Hello. I am working on a game called Miner’s Quest and I am sure this is not a normal level for Animation memory? Almost every line in scripts that i include loading animations within the animator instance, i always Destroy the track and set it nil when i am done with it. By the way, it is the same with the Sounds.

Does anyone have experience with this and can help?

Is that script profiler? Script profiler is meant to check for cpu usage. While it can be for memory too, its kinda hard to see memory in it.
Im not an expert in script profiler, but i dont think this is high memory. But i may be wrong. You ought to check the other tools.

However, you said you destroy and set it to nil right? You also need to disconnect the events if any. You could use module scripts like maid or janitor which helps you with memory.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.