Skip to content

Export skin when SkinnedMeshRenderer.bones is empty#22

Open
niello wants to merge 1 commit intosketchfab:masterfrom
niello:master
Open

Export skin when SkinnedMeshRenderer.bones is empty#22
niello wants to merge 1 commit intosketchfab:masterfrom
niello:master

Conversation

@niello
Copy link

@niello niello commented Feb 23, 2023

Sometimes SkinnedMeshRenderer has an empty array of bones. This is most likely due to an option "Optimize Game Object" on an Import settings Rig tab. This contribution restores skinning information from raw Unity asset data. I can't guarantee that it handles any possible situation but it proved useful in some real cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments