Search Issue Tracker

Duplicate

Duplicate in 2021.3.X

Votes

0

Found in

2021.3.16f1

Issue ID

UUM-30947

Regression

Yes

The animator sets the child objects to the initial state when the game object is reactivated.

Mecanim Animation

-

How to reproduce:
1. Download and open the attached projec
2. Open the "SampleScene" scene
3. Enter "Play" mode
4. Click the "Jump State" button once, observe the circle turn red
5. Click the "Switch Active" button twice

Expected outcome: The circle remains red
Actual outcome: The circle turns white

Reproducible with: 2021.3.16f1, 2021.3.21f1, 2022.2.11f1, 2023.1.0b8, 2023.2.0a6
Not reproducible with: 2020.3.46f1, 2021.3.15f1

  1. Resolution Note:

    a regression was introduced in 2021.3.16f1 with a fix introduced in 2021.3.20f1. If the fix is not applied automatically, make sure to go in the inspector (using the debug view) of the animator and that the Keep Animator State on Disable and Write Default Values On Disable are set to false for the animator
    Duplicate of another internal issue: UUM-27229: KeepAnimatorControllerStateOnDisable regression

  2. Resolution Note (2021.3.X):

    a regression was introduced in 2021.3.16f1 with a fix introduced in 2021.3.20f1. If the fix is not applied automatically, make sure to go in the inspector (using the debug view) of the animator and that the Keep Animator State on Disable and Write Default Values On Disable are set to false for the animator
    Duplicate of another internal issue: UUM-27229: KeepAnimatorControllerStateOnDisable regression

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.