Search Issue Tracker

Won't Fix

Votes

1

Found in

2017.4

2018.4

2018.4.15f1

2019.2

2019.3

2020.1

Issue ID

1214828

Regression

No

[State Machine] Interrupted Transitions on layers set to override stop all lower Animation layers from playing

Animation

-

Reproduction steps:
1. Open the attached project "case_1214828-IK_Test.zip"
2. In the Project window under Assets/Scenes open "SampleScene.unity"
3. Select "Ethan" GameObject and enter Play Mode
4. In the Animator window under Parameters turn on "OffInterrupt" and "OnTrigger"

Expected result: humanoid transitions back to its original state after the interruption
Actual result: humanoid does not transition back to its original state

Reproduces on: 2017.4.36f1, 2018.4.17f1, 2019.2.20f1, 2019.3.0f6, 2020.1.0a22

Notes:
-This issue is solved when the Animator component is disabled, Animation layers are edited or a new state is added in the Animator window
-This issue does not reproduce on non-humanoid Animators

  1. Resolution Note:

    Refactoring would require lots of work, and might introduce new issues. This is an edge case that only happens with non looping clip, and we don't want to impact performance for and edge case by making changes. Workaround would be : For the destination clip, add an offset of at least the time of a fixed update, so that the root motion can use the first few milliseconds to calculate its root motion. A warning message was added in case this was not done.

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.