question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

glTF: files with no scenes give "/scene: Failed to find index (0)"

See original GitHub issue

In the sandbox, dropping a glTF without a scenes property gives “/scene: Failed to find index (0)”.

error

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bghgarycommented, Feb 11, 2019

I opened a PR with the fix. Note that the default camera will end up with some odd values because there is no meshes in the scene. We possibly should do something about that as well in a separate PR.

Thanks for the report @scurest!

0reactions
bghgarycommented, Feb 11, 2019

I don’t think there should be an error message for a valid file though.

Yes, agreed. I will fix it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Triangle.gltf does not displayed in Babylon JS Sandbox - Bugs
I made this change because of glTF: files with no scenes give "/scene: Failed to find index (0)" · Issue #5900 · BabylonJS/Babylon.js ......
Read more >
Unable to load GLTF object - Stack Overflow
First you can download the free 3d model gltf file from sketchfab and then convert ... npx gltf-pipeline -i scene.glb -o model.glb --draco....
Read more >
Unable to load .glb (GLTF) in a scene of GIScene.js
I am not sure if we can use three.js GLTFLoader.js for loading a GLTF and/or GLB file in a scene of GIScene.js because...
Read more >
3D Models and Scenes (GLTF) - Unofficial Bevy Cheat Book
A single file can contain many "models" or more complex "scenes". To get a better understanding of GLTF and possible workflows, read the...
Read more >
Three.js Loading a .GLTF File
It provides no scene graph so everything loaded is one large mesh. ... gLTF file that data can be uploaded to the GPU...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found