StateMachineBehaviour.OnStateEnter() called multiple times

I’m seeing some odd behavior with StateMachineBehaviours in b17. I have SMBs attached to a state machine and a state inside the state machine. When the state machine is entered, OnStateEnter() is called twice in a row on it’s behavior. When it reaches the state with a SMB attached to it, it’s OnStateEnter() is called once. At some later date, while still in the same state machine, the state machine’s OnStateExit() is called, immediately followed by OnStateEnter(). Finally, when it leaves the state and the state machine, OnStateExit() is called on each SMB. Things get even weirder from there, with OnStateEnter() and OnStateExit() seemingly called almost at random as the motion graph transitions states and state machines. This seems to happen regardless of which SMB I attach to my states / state machines.

/Todd

I don’t think its possible to reproduce this bug (if it is a bug) from your info - could you file a bug report?

BTW, I mentioned the same behavoiurs with OnAnimatorMove() but this method can be called even 10 times per frame.