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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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)