Search Issue Tracker
Won't Fix
Won't Fix in 2023.1.X
Votes
0
Found in
2020.3.44f1
2021.3.18f1
2022.2.5f1
2023.1.0b2
Issue ID
UUM-26870
Regression
No
SkinnedMeshRenderer not rendering after animator is removed and "optimize game objects" is enabled
How to reproduce:
1. Open the project “IN_29178”
2. Drag and drop the “avatar” prefab from the Project window to the Scene view
3. Select the “avatar” prefab in the Hierarchy window
4. In the Inspector window remove the “Animator” component
5. In the Hierarchy right-click “avatar” → Prefab → Unpack Completely
6. Drag and drop unpacked “avatar” GameObject to the Project window
7. Observe the Scene view
Expected result: “avatar” prefab is rendered
Actual result: “avatar” prefab is not rendering
Reproducible with: 2020.3.44f1, 2021.3.18f1, 2022.2.5f1, 2023.1.0b2
Reproducible on: Windows 10 Pro
Note:
- Not reproducible with other prefabs (newly created cube prefab or similar)
- Not reproducible if the “Animator” component is not removed
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
- 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
Resolution Note:
The model is imported using the optimize GameObject setting. When this setting is used the animation data is directly passed on to the SkinnedMeshRenderer. Removing the animator in this case leaves the SkinnedMeshRenderer with no data to execute skinning. As a result nothing renders after a refresh - (save scene, create prefab)
Resolution Note (2023.1.X):
The model is imported using the optimize GameObject setting. When this setting is used the animation data is directly passed on to the SkinnedMeshRenderer. Removing the animator in this case leaves the SkinnedMeshRenderer with no data to execute skinning. As a result nothing renders after a refresh - (save scene, create prefab)