- Home /
Massive lag with Animator.Update in Profiler
My game is a 2D game and I'm using generic animators for the animations.
At points that seem to be random, Animator.Update shows lags of about 420ms in the Profiler.
As shown below, the profiler says 419ms for Animator.Update, but when I collapse it to see the details, the 419ms appears nowhere, only very little times are shown.
Why is that happening and how can I prevent it?
As shown below, I get steady 60 fps all the time, except for that peak. Animation-wise, no particular event happens during the peak. The events that happen do not affect fps 99% of the time.
Your answer
Follow this Question
Related Questions
Android lag on Nexus 7 (2012) 0 Answers
Unity Profiler - Loading.UpdatePreloading - Huge Lag Spikes 0 Answers
2D Animation does not start 1 Answer
SetFont Requirements? 0 Answers
Unity Animator Input Lag 0 Answers