Why would method StateMachineBehaviour.OnEnable() be called when I disabled Animator component?
It’s probably entering the default state since the Animator Controller system was evidently designed by people who think it should reset everything when disabled unlike literally every other part of the engine.
Can you log the name of the state it’s entering?