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

GLTF. Models with object parented to armature fails #1266

Open
SilverfishVR opened this issue Dec 8, 2024 · 3 comments
Open

GLTF. Models with object parented to armature fails #1266

SilverfishVR opened this issue Dec 8, 2024 · 3 comments

Comments

@SilverfishVR
Copy link
Contributor

Importing a GLTF (glb) model that has mesh a object parented to a armature bone fails, log messages is:
Model entity failed to load in time: 10000 ... setting dimensions to: undefined

The same file imports correctly if, instead of parenting the object, it is parented as a skinned mesh with weights.

The file is valid GLTF, so it should at least load or give proper reasoning for the failure, even if the engine/importer does not support object parenting.

To reproduce:
Both files are validated with https://github.khronos.org/glTF-Validator/ and loads in https://sandbox.babylonjs.com/. They both have an animation to verify the parenting but it will not play in Overte since GLTF is not yet supported as animation source.

  1. import: https://silverfish-freestuff.s3.amazonaws.com/TestStuff/objectAnim/boneAnimation_1.glb. after a while you should see a green cube and the aforementioned message in the log.
  2. import: https://silverfish-freestuff.s3.amazonaws.com/TestStuff/objectAnim/boneAnimation_2.glb. You should see a white cylinder.
@JulianGro

This comment was marked as resolved.

@HifiExperiments
Copy link
Member

this sounds like an issue earlier in the pipeline, with the serializer

@SilverfishVR
Copy link
Contributor Author

I can't say with confidence that this is a new issue, I looked through some of my old models and none of them use object parenting, turns out, ignorance, really is bliss.

I have tried to rework my model but it still won't load, I guess there is still something in there that the serializer can't handle, if I export it without the armature it loads. fbx export also loads but it looks like [REDACTED]

Here it is:
http://silverfish-freestuff.s3.amazonaws.com/TestStuff/door%20rig%20test%2021.blend

I will cut my loses now, and not waste more time on trying making it work, feel free to do the same.

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

3 participants