Search Issue Tracker
By Design
Votes
1
Found in
2017.3.0f2
Issue ID
977505
Regression
No
Animated component active values fail to reset after exiting animation if child’s SkinnedMeshRenderer component was disabled
Steps to reproduce:
1. Open attached “ActiveComponents.zip” Unity project
2. Open scene “Test”
3. Select “Model” object in Hierarchy
4. Enter Play mode
5. Click on “Disable” button in Game Window
6. Click on “Enable” button in Game Window
Expected results:
"Model" object components are active
Actual results:
"Model" object components remain disabled
Reproduced in: 2018.1.0a7, 2017.3.0f2,, 2017.2.1f1,, 2017.1.2p4, 2017.1.0a1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Resolution Note:
This is a limitation of the Animator when using culling.
Animating mesh visibility with culling enabled ('Cull Update Transforms' or 'Cull Completely') will stop evaluating animation after MeshRenderer visibility is turned off (In the case of this bug, if both 'model' MeshRenderer and 'mesh1' SkinnedMeshRenderer are turned off). Even if the animation reenables it, it will not evaluate as it's been already culled from animation.
In order for this to work, you have to set culling mode to 'Always Animate', or control mesh visibility by script.