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
- Crash on RenderBufferManager::Textures::GetTempBuffer when rendering a specific scene
- The Inspector header is incorrectly displayed when scripts are recompiled while a Scriptable Object instance is selected
- NullReferenceException is thrown when overriding the UxmlObjectReferences in template instances
- Shaders created with Shader Graph generate a large amount of shader variants and cause slow build times when using a baked lightmap in BIRP
- Shader Graph Matrix property produces random output values when SRP Batcher is enabled
Add comment