I’m creating AnimatorControllerPlayable from AnimatorController. After entering playing mode, it is playing ok, but all StateMachineBehaviours in this AnimatorController disapear (and of course are not working).
For normal Animator after entering Play Mode all StateMachineBehaviours are recreated as clones, but it is not working for AnimatorControllerPlayable.
BUT when during Play Mode I add in Animator Window new StateMachineBehaviour to some state in AnimatorController it is added AND all other StateMachineBehaviours are initialized and working OK.
Am I missing some initialization for AnimatorControllerPlayable?
UPDATE: Animator.GetBehaviours() after creating PlayableGraph with AnimatorControllerPlayable returns correct amount of StateMachineBehaviours, so it looks like they are added but not initialized.