Search Issue Tracker

By Design

By Design in 5.6.X, 2017.1.X

Votes

0

Found in

5.6.0f1

Issue ID

911474

Regression

Yes

[Animator] Animator Controller resetting state to default when trigger is invoked

Animation

-

Steps to reproduce:

1) Download attached project and open in Unity
2) Open 'MainScene' and press Play
3) In login screen, click on 'Continue as guest' button
If presented with a wheel that doesn't spin, Stop play mode and repeat steps 2-3
4) In Hierarchy window, expand 'lobby3d' scene and select GAMEOBJECT_NAME gameObject
5) In Inspector window, double click on 'LobbyAnimationGroup' Animator Controller
Animator window will open. Drag and drop this window somewhere, so you could see Game view and Animator window
6) In Game view, click on BUTTON_NAME button
7) Observe Animator window and you will see that state will reset to default 'LobbyStartIdle' instead of 'LobbyToNAMERewards'

Expected result: State should not be reset to default (check attached video 'noRepro.mp4')
Actual result: State resetting to default (check attached video 'repro.mp4')

Reproduced with:
5.6.0p1, 5.6.1p1, 2017.1.0b5

Not reproduced with:
5.5.3p3, 5.6.0f3

Regression from:
5.6.0p1

Comments (2)

  1. Rolak

    Jan 08, 2018 20:07

    I can confirm this bug happens when objects are instantiated from a prefab. version:2017.2.0f3

  2. HahnSC

    Jan 08, 2018 05:22

    I met the bug then I instantiate a prefab which contain a animator component, then all of other animator are reset to default state.
    BTW my unity version = 5.4.2f2

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.