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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment