Search Issue Tracker

Fixed in 2019.3

Fixed in 2018.4, 2019.2



Found in





Issue ID




Undo removes wrong motion from Blend Tree when "Add Motion" was done from Blend Tree node's right-click context menu



How to reproduce:
1. Open attached project "case_1134780-AddMotionUndoIssue"
2. Left-click the "Cube" AnimatorController in the Project Window to see it in the Animator Window
3. Double-click the "Blend Tree" node to see its contents
4. Left-click the BlendTree node in its context to see it in the Inspector
5. In the inspector click the "+" symbol and select "Add Motion Field" and select "AnimationOne"
6. Repeat the previous step but with "AnimationTwo" instead of "AnimationOne"
7. Left-Click inside of the Animator Window to set focus
8. Right-click the "BlendTree" node and select "Add Motion" from the context menu
9. Press Ctrl+z or go to Edit -> "Undo Added BlendTree Child"

Expected result: the empty animation is removed from the list
Actual result: the last animation in the list is removed i.e. "AnimationTwo"

Reproducible with: 2018.3.9f1, 2019.1.0b7, 2019.2.0a8
Not reproducible with: 2017.4.23f1

Note: step 7 is necessary for the problem to reproduce (the focus can be shifted anywhere as long as it goes off the Inspector). Also, that "Automate Threshold" checkbox in the BlendTree's inspector has to be turned off (it is only present with two or more motions in the list)

Comments (3)

  1. 6845e15db0d0383c2644f384bb6e1376?d=mm


    Feb 20, 2020 16:00

    This article gives the light in which we can observe the reality. This is very nice one and gives in depth information. Thanks for this nice article.
    indian visa requirements

  2. 6845e15db0d0383c2644f384bb6e1376?d=mm


    Feb 19, 2020 15:48

    Nice to read your article! I am looking forward to sharing your adventures and experiences.
    Boiler Service London

  3. 6845e15db0d0383c2644f384bb6e1376?d=mm


    Feb 13, 2020 14:17

    The information you have posted is very useful. The sites you have referred was good. Thanks for sharing...
    taiwan coronavirus

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.