Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Transition Duration ignored when exit/entry from sub state

Discussion in 'Animation' started by Crouching-Tuna, Nov 8, 2020.

  1. Crouching-Tuna

    Crouching-Tuna

    Joined:
    Apr 4, 2014
    Posts:
    82
    Hi.

    I use sub state often for organization. The transition duration is somehow not working if i transition from a substate that goes to its Exit state

    In the vid, when i attack from the "Stance" state, it just snaps like it had 0 transition duration. The "attack" sets the bool "Stance" to false, then consumes trigger from Any state
    Stance state goes to its substate Exit node when "Stance" bool is off




    Here's an even simpler case
    From Stance to Grounded, it snaps.


    I tried, from the substate, directly to the Up-> Grounded, and it's the same thing
    And tried other variations too
    I've read about the Exit node behavior from substate, but even with that direct transition from the whole Sub state into Grounded, it still snaps.

    Does transition duration work at all if it goes to an exit?

    And, maybe the Grounded state is the problem bcoz it's a blend tree?

    Cheers