Hi,
I have a CPU issue using Animator. I only use it for small or UI objects, with no sprite modification, no root motion (it still appears in profiler). Generally it’s only for changing the state of an objet (the animators are always stuck in on state exept on particular event that will trigger an animation that will enable some components or change the alpha of some sprites).
Here I have an exemple with 7 very simple animators. It cost 0.17ms (DirectorUpdateAnimationBegin )+ 0.15ms (DirectorUpdateAnimationEnd) on PC, and it’s 3 times that values on consoles ( 1.5 ms in total !) .
The kind of animations they are stuck in :
The only way I found is to remove ALL animator. If there is at least one animator this appear and cost a lot.
Do you have any tips to reduce this cost?
Thanks