-
Notifications
You must be signed in to change notification settings - Fork 480
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
HumanoidSetup needs to check "isHuman" #681
Comments
pfcDorn
pushed a commit
to prefrontalcortex/UnityGLTF
that referenced
this issue
Feb 2, 2024
pfcDorn
pushed a commit
to prefrontalcortex/UnityGLTF
that referenced
this issue
Feb 2, 2024
pfcDorn
pushed a commit
to prefrontalcortex/UnityGLTF
that referenced
this issue
Feb 2, 2024
…check isHuman" This reverts commit cb2a12c.
i have fixed it with 5363224 |
pfcDorn
pushed a commit
to prefrontalcortex/UnityGLTF
that referenced
this issue
Feb 7, 2024
…Human removed unneeded check
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Before
If HumanDescription is wrong, the avatar is not human but generic as "isValid".
UnityGLTF/Editor/Scripts/Internal/HumanoidSetup.cs
Line 25 in d9ed104
Aftar
So we will fix it like this.
if (!avatar.isValid || !avatar.isHuman)
References
https://docs.unity3d.com/ScriptReference/Avatar-isHuman.html
https://docs.unity3d.com/ScriptReference/Avatar-isValid.html
The text was updated successfully, but these errors were encountered: