Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Humanoid Avatar Rig Not Working #796

Open
7 tasks done
JeanxPereira opened this issue Nov 8, 2024 · 4 comments
Open
7 tasks done

Humanoid Avatar Rig Not Working #796

JeanxPereira opened this issue Nov 8, 2024 · 4 comments

Comments

@JeanxPereira
Copy link

JeanxPereira commented Nov 8, 2024

Describe the bug 💬

I can't apply the modification to the Humanoid character and create the Avatar element for it. It says that LeftUpperLeg is missing from the model, even though it is correctly configured on both the character and in AvatarUtils.

Error:

image

AvatarUtils:

image

GLTF containing L_Hip, which is interpreted as LeftUpperLeg in AvatarUtils:

image

Steps to reproduce 🔢

  1. Import the GLTF model into Unity.
  2. Verify that the bone names are correctly mapped in AvatarUtils.
  3. Create the Avatar using the Avatar menu in the prefab generated by the GLTF Plugin.
  4. Error: Missing LeftUpperLeg.

Files to reproduce the issue ♻

https://drive.google.com/drive/folders/1d72fK9oWq1OY7NH4RuqtHdd9p2FA4yz7?usp=sharing

Editor Version 🎲

6000.0

Render Pipeline and version

Built-In

UnityGLTF Version

2.14.1

Operating System 👩‍💻

Windows

When does this problem happen?

  • Editor Import
  • Runtime Import
  • Editor Export
  • Runtime Export

Additional Info 📜

This exact same error occurs for other users with different plugins, such as GLTFUtility, where I also reported this issue. I’m not sure, but it could be related to Unity and how it handles this:
Siccity/GLTFUtility#70

Validations 🩹

@hybridherbst
Copy link
Collaborator

Hey, the name of the node seems to be "L_Hip" but your mapping looks for "riotleague:L_Hip" which is a different string.
Can you try adding the actual name of the node without that prefix?

@JeanxPereira
Copy link
Author

JeanxPereira commented Nov 11, 2024

hey, I also did this test by modifying the bone names directly in the GLTF file using the names used in Unity, but it still didn’t work

@hybridherbst
Copy link
Collaborator

Can you upload those files and what error message you get as well please? Thanks

@JeanxPereira
Copy link
Author

yes, are the files I sent mentioned in:

Files to reproduce the issue ♻

https://drive.google.com/drive/folders/1d72fK9oWq1OY7NH4RuqtHdd9p2FA4yz7?usp=sharing

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

No branches or pull requests

2 participants