Animator forcing animated material values after Timeline has finished

During a timeline sequence I am animating material values on a character. Once the timeline has finished, the animated values are snapped back to the way they where immediately before the timeline started and forced to those values every frame, making is so they can never be changed again.

The only ways I have been able to undo this is to disable and re-enable the GameObject that the Animator is attached to, or remove the Animator entirely. This problem even presents while the Animator is disabled. Disabling a GameObject with an Animator seems to do a hard reset that can’t be triggered any other way. This isn’t a great workaround for me because the character flashes for a frame.

Things I have tried:

  • Caching the runtimeAnimatorController, setting it to null in the Animator, and restoring it after.

  • Disabling and re-enabling the Animator

  • Falling through to the AnimatorController’s exit state

  • Stopping and starting playback on the animator

I’d suggest filing a bug. We’ve recently fixed some related issues, and our QA team will be able to determine if this is still an issue