- Home /
Profiler spikes of Loading.LoadFileHeaders inside Animator.Update in the Unity Editor
When I open Unity Editor and start playing scenes with GameObjects which use Animator I get spikes from Animator.Update -> Dirty Scene Objects -> Loading.ReadObject -> Loading.LoadFileHeaders. And it is almost impossible to play, but the curious thing is that those spikes eventually disappear while I continue playing the scene for a long time. And the spikes are not present in builds.
I wonder if somebody knows what could be the cause of calling to Animator.Update -> Dirty Scene Objects -> Loading.ReadObject -> Loading.LoadFileHeaders.
I have the same problem. Really terrible. This only seems to happen the first time a specific animation is run though.
Can you link your bug issue so I can write a comment there too?
Answer by Kastenessen · Jul 12, 2017 at 07:30 AM
Try enabling read/write on all of your animations.... might work.
Nope its not that, disable write defaults on all of your animators, that's the one.
Not sure what to do. I have same problem, its breaking my project.
Your answer
Follow this Question
Related Questions
Vsync causing fps drop and erratic fps. Any ideas are welcome. 1 Answer
Profiling mysterious "Phase Core: Trigger Interaction Work" 1 Answer
Windows Phone 8 Overhead - Crawling 2 Answers
Graphics.PresentAndSync consuming a lot of time 2 Answers
Scene Lag when first running a certain script, but then returns to normal performance afterwards? 1 Answer