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

gltf2ozz issue #156

Open
zhongxiaoyu opened this issue Jul 27, 2022 · 2 comments
Open

gltf2ozz issue #156

zhongxiaoyu opened this issue Jul 27, 2022 · 2 comments

Comments

@zhongxiaoyu
Copy link

when i use the command line :gltf2ozz --file="my path/*.gltf",there is a problem as follow:
Skeleton contains at least one non-unique joint name "NeckTwist01", which is not supported.
there is only one "NeckTwist01" in file.
why?

@zhongxiaoyu
Copy link
Author

issue:Skeleton contains at least one non-unique joint name "Pelvis", which is not supported.
here is part of my *.gltf file:
{
"name": "Pelvis",
"translation": [
0.0,
0.0,
0.0
],
"rotation": [
-0.499999672174454,
-0.500000357627869,
-0.499999672174454,
0.500000357627869
],
"scale": [
1.0,
1.0,
1.0
],
"children": [
12
]
},

when i delete the "children"( "children": [12]), then it works, but i don't know why, hope your reply, thank you.

@guillaumeblanc
Copy link
Owner

Hi,

I think I don't know enough to really help here. I'll try to suggest a few things:

  • Can you try to verify your file with a gltf validator, like https://github.khronos.org/glTF-Validator/ ?
  • Can you provide the file so someone could have a look, maybe debug into ozz importer?
  • Does Pelvis joint self reference itself as a children?
  • Does anyone else has an idea?

Cheers,
Guillaume

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

No branches or pull requests

2 participants