Search Issue Tracker
By Design
Votes
0
Found in
2017.4.4f1
Issue ID
1043641
Regression
No
[Animation] The blendshape of render is incorrect after re-enabling animated GO in play mode
To reproduce:
1. Open the project
2. Run the blendshape scene.
3. Click the button "PlayA", "PlayB". check the shape of the box.
4. .Disable the Box using a toggle in canvas, then Enable it again.
5. Click the button "PlayA", "PlayB", notice that box is animated incorrectly(gif attached)
Reproduced: 2017.1.3f1, 2017.2.2p4, 2017.3.2f1, 2017.4.4f1, 2018.1.2f1, 2018.2.0b5
Resolved: By Design
The Animator's Default Values get reset if you disable the GameObject. This is used to free the memory that the Animator uses while the GameObject is disabled, and the default values are reacquired on reenabling the GameObject
You can either use Animator.keepAnimatorControllerStateOnDisable (Unity 2018.1+), not disable the whole GameObject, or enforce the default values you want before disabling.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
Add comment