Broken Animator component after upgrade to 5.2.3f1

I have a simple Animator component driving the Scale of my game object and the Alpha property of a CanvasGroup. Prior to upgrading to 5.2.3 from 5.1.2 this worked just fine. Now when the animation fires, I can see the clip in the animator apparently “working”, but the animation definitely does not actually play in the game view and the properties that are supposed to animate remain unchanged.

58542-animator.jpg

What’s weird is that I can get the properties to start animating if I pause the simulation, manually scrub the animation a little bit, then unpause the simulation. This seems to un-jam whatever is getting jammed up.

These game objects are not marked static nor are they set for static batching. Apply Root Motion is unchecked on my animators, and I have tried removing and re-adding the animators, all to no avail. Anybody have any ideas?

As it turns out, it seems Animator components now have to be enabled from the outset in order for their clips to actually animate any properties. Whether this was an intentional change by the Unity engineers or is a new bug, I don’t know. I had my Animator component disabled by default, and would enable it at the appropriate time so it would begin its animation. I changed the way this works by putting my animation in a looping “do nothing” state, then transitioning to an “animating” state when a bool property is set. So now I just call

_animator.SetBool("IsOpen", true);

instead of

_animator.enabled = true;

This seems to have solved the issue.