- Home /
When a animation is loaded to memory?
In my setup i have a single Animator with all the enemies animations and a single prefab for the enemy, the enemy when Instantiated will pass its id to the Animator making it play that enemy animation.
The problem is that when i looked at the profiler all my enemies where loaded in the memory.
And then when i was trying to figure out a solution, some weird stuff happend, i removed all my enemies from the project, freeing the memory, and then i put them back in the project, this time i look at the profiler and the memory still free of enemies.
Then i instantiate the enemy prefab and make it play one of the enemies animation, sure enough it was loaded to memory, but then i stop unity play mode, and play it again, i don't instantiate any enemy this time, but the previous enemy that i had instantiated in the last time is still in the memory u.u.
And that's why i'm asking, when a animation is loaded to memory?
Your answer
Follow this Question
Related Questions
Is it possible to change a skybox material via (Animation)? 0 Answers
Profiler.GetRuntimeMemorySize(xxxx) always returns 0 1 Answer
2D Animation does not start 1 Answer
Object does not recognize animation? , Animator not working after moving file location 0 Answers
How to use animations from different character with generic rig? 1 Answer