Search Issue Tracker

Won't Fix

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

  1. 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)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.