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.

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.

This could be related to missing components or missing links on your animations, prefabs, etc… There are some bugs also related to this:

912597
904652