Search Unity

Animation shows twice in transition inspector window. Is this normal?

Discussion in 'Animation' started by rickblacker, Apr 23, 2019.

  1. rickblacker

    rickblacker

    Joined:
    May 1, 2014
    Posts:
    266
    Hi all... Trying to ramp up on using the Animation controller and I'm going through a tutorial. In the tutorial it shows how to use a treasure chest to open and close it's lid.

    While watching the animation go from open to close, I noticed that after it closed, it the chest lid would snap to the full open state. I looked at the transition in the inspector and noticed that the "chest_open" is somehow duplicated. When looking at the tutorial training video, that person does not seem to have that second "chest_open" state in the inspector window.

    I was hoping someone might be able to give me a clue as to why this might be happening...

    AnimationIssue.png


    Thanks so much.
     
  2. rickblacker

    rickblacker

    Joined:
    May 1, 2014
    Posts:
    266
    Found the issue. It was happening because the "Loop Time" on the animation was checked. Unchecked it and that extra "chest_open" clip is now gone and my animation is working as expected.

    AnimationIssueFix.png