Search Issue Tracker

By Design

Votes

0

Found in

5.1.1f1

Issue ID

716246

Regression

No

StateBehavior OnStateMove override prevents the animation

Animation

-

How to reproduce:
1. Open the attached project
2. Open and play Main scene
3. Click button on the left (it doesn't stretch- doesn't animate)
4. Click button on the right (it will stretch)
5. Open TestMoveSBOverriden.cs script and notice that is has overriden OnStateMove message. It is attached to button's on the left Pressed state of the Button controller.

By Design: This is the expected behaviour, if you override either OnAnimatorMove or OnStateMove then you are managing the root motion animation, the animator won't write anymore into the root transform

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.