This version of Unity is unsupported.

Animator.runtimeAnimatorController

Switch to Manual
public RuntimeAnimatorController runtimeAnimatorController;

Description

The runtime representation of AnimatorController that controls the Animator.

Swapping Animator.runtimeAnimatorController with an AnimatorOverrideController based on the same AnimatorController at runtime doesn't reset state machine's current state.