Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Animator Sub-state machine plays default transition first when 2-levels inside Sub-state?

Discussion in '2021.2 Beta' started by sacb0y, Oct 10, 2021.

  1. sacb0y

    sacb0y

    Joined:
    May 9, 2016
    Posts:
    753
    upload_2021-10-10_0-3-23.png
    (The above sub-state is where the issue occurs which is inside two other sub-states)

    To my understanding, this glitch occurs when a sub-state is inside a sub-state, Inside a sub-state.

    So "Base > Sub-State 1 > Sub-State 2 (Entry Node) > Sub-State 3 (Entry Node)"

    inside Sub-State 3 the default transition will play first, and then the proper transition will play. This does not happen outside of here. This causes a very jarring animation transition which is a serious visual problem.
     
  2. sacb0y

    sacb0y

    Joined:
    May 9, 2016
    Posts:
    753
    Additional details, this issue only occurs if it passed through a default transition twice?

    So because this particular sub-state goes "Default Transition > Default Transition" that seems to cause the problem?

    The other sub-state beside the above one does not have this issue, but it is not the default state of it's parent sub-state.
     
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,102
    Hi @sacb0y,

    Could you please submit a bug report with a reproducible attached to it for this issue?