Search Unity

[5.2&5.3] Animator get stuck when interrupting an transition during animator.speed == 0

Discussion in 'Animation' started by jagttt, Dec 13, 2015.

  1. jagttt

    jagttt

    Joined:
    Nov 2, 2012
    Posts:
    10
    I've managed to setup a project that can reproduce this issue.
    I have a script to set the animator.speed to zero before setting animator trigger for a transition interrupt, and the animator will get stuck at a state of both state playing and can not exit.

    upload_2015-12-13_15-58-55.png

    The issue doesn't exist in 5.1, but can be reproduced with 5.2.3p3 and 5.3.0f4.
    See attached file for test case project. Just open 'Scene.unity' and hit play, then watch the 'Cube''s animator.

    I've submitted an bug report, see here
    Thanks in advance!
     

    Attached Files:

  2. jagttt

    jagttt

    Joined:
    Nov 2, 2012
    Posts:
    10
    @Mecanim.Dev
    Please help take a look at this. Attached project can reproduce the problem easily.
    And this is stopping us from upgrading to 5.2. Thanks in advance!