Search Issue Tracker

By Design

Votes

4

Found in

5.3.4p4

Issue ID

794611

Regression

No

[Mesh] 'Optimize Game Objects' loses skinning

Graphics - General

-

Steps to reproduce:
1. Open the attached project 'bug'
2. Open the scene 'test'
3. Search 'Bone_Ammo_MasterA' in the Hierarchy and try to rotate it
4. Notice that the bone visually rotates fine
5. In the 'model' Import Settings, check 'Optimize Game Objects' and click Apply
6. Repeat step 3
7. Notice that the bone does not rotate visually, mesh is no longer skinned to rig

Expected: Checking 'Optimize Game Objects' should not lose mesh skinning

  1. Resolution Note:

    In optimized mode, if a root bone is specified in the unoptimized SkinnedMeshRenderer and its transform has also been exposed, the root bone will be kept as is, otherwise it will be set to null.

    That means that it's not going to be a hierarchy anymore.

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.