-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
broken (?) glTF model crashes Interface #239
Comments
Backtrace:
|
dude.zip |
That dude.glb doesn't throw any errors. Just some seemingly small warnings: {
"uri": "dude.glb",
"mimeType": "model/gltf-binary",
"validatorVersion": "2.0.0-dev.3.8",
"validatedAt": "2022-11-26T12:42:17.423Z",
"issues": {
"numErrors": 0,
"numWarnings": 10,
"numInfos": 0,
"numHints": 0,
"messages": [
{
"code": "NODE_SKINNED_MESH_NON_ROOT",
"message": "Node with a skinned mesh is not root. Parent transforms will not affect a skinned mesh.",
"severity": 1,
"pointer": "/nodes/67"
},
{
"code": "NODE_SKINNED_MESH_NON_ROOT",
"message": "Node with a skinned mesh is not root. Parent transforms will not affect a skinned mesh.",
"severity": 1,
"pointer": "/nodes/68"
},
{
"code": "NODE_SKINNED_MESH_NON_ROOT",
"message": "Node with a skinned mesh is not root. Parent transforms will not affect a skinned mesh.",
"severity": 1,
"pointer": "/nodes/69"
},
{
"code": "NODE_SKINNED_MESH_NON_ROOT",
"message": "Node with a skinned mesh is not root. Parent transforms will not affect a skinned mesh.",
"severity": 1,
"pointer": "/nodes/70"
},
{
"code": "NODE_SKINNED_MESH_NON_ROOT",
"message": "Node with a skinned mesh is not root. Parent transforms will not affect a skinned mesh.",
"severity": 1,
"pointer": "/nodes/72"
},
{
"code": "NODE_SKINNED_MESH_NON_ROOT",
"message": "Node with a skinned mesh is not root. Parent transforms will not affect a skinned mesh.",
"severity": 1,
"pointer": "/nodes/73"
},
{
"code": "NODE_SKINNED_MESH_NON_ROOT",
"message": "Node with a skinned mesh is not root. Parent transforms will not affect a skinned mesh.",
"severity": 1,
"pointer": "/nodes/74"
},
{
"code": "NODE_SKINNED_MESH_NON_ROOT",
"message": "Node with a skinned mesh is not root. Parent transforms will not affect a skinned mesh.",
"severity": 1,
"pointer": "/nodes/75"
},
{
"code": "NODE_SKINNED_MESH_NON_ROOT",
"message": "Node with a skinned mesh is not root. Parent transforms will not affect a skinned mesh.",
"severity": 1,
"pointer": "/nodes/76"
},
{
"code": "NODE_SKINNED_MESH_NON_ROOT",
"message": "Node with a skinned mesh is not root. Parent transforms will not affect a skinned mesh.",
"severity": 1,
"pointer": "/nodes/77"
}
],
"truncated": false
}, |
PR #263 fixed the crash, but the code remains broken. The PR added a test for the glTF code, which runs through user-provided models and official Khronos samples. This seems to have narrowed the issue down. The following two samples fail: https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/Fox The last one is particularly interesting:
And is very likely the actual issue that needs fixing. Help from people familiar with rendering engines and glTF would be extremely appreciated here. |
I've ran into this bug today, it seems to happen with every model that glTFast exports Models that don't crash the interface are looking like this: |
Yep, indeed, it is how RPM avatars looks in Vircadia if you just use avatar out of the box. You need to convert it in Blender to glb before uploading. Now Vircadia doesn't crash but RPM avatars still not work properly. |
Fixed by #835 |
Currently ReadyPlayerMe models seem to be damaged in some way, which crashes Interface.
Here is an example file:
635d84711260644e7e393e0b.glb.zip
The glTF validator shows an error which makes me think that the model is broken in some way.
The text was updated successfully, but these errors were encountered: