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
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
- Crash on UnityEngine.UI.RawImage:OnPopulateMesh when playing Raw Image Texture animation with Sprite keyframes
- 32bit floating point RenderTexture blending feature is not available for WebGPU
Add comment