Question by
Moortini · Sep 06, 2017 at 12:42 PM ·
gameobjectanimatormemorymemory leak
Animator memory leaks
Hello!
I was fixing some memory leaks in my project on IOS device and I found that there are many leaks about animator component. (I was using Instruments in Xcode) These leaks occur in many places in the project. They appear most of all when some gameobject with animator component (or animator component on child gameobjects) is setting active. This is the screen from Instruments (stack trace of one of founded leaks):
So my question is: 1) Is Unity allocates memory for animator every time gameobject is set active? 2) Can I fix this someway?
Sorry for my English;) Thanks
screen-shot-2017-09-06-at-153223.png
(172.3 kB)
Comment
Did you ever get a response or solution for this problem?