Error: THREE.GLTFLoader: Failed to load buffer "scene.bin"

I download an excavator model from URL https://sketchfab.com/3d-models/excavator-muddy-and-dirty-6baf959d28a2415a8c1e1bb258f18a87. The original format of model is fbx, and I download it with format of gltf. Using function of THREE.GLTFLoader to load the model, it throws an error:
index.js:1 Error: THREE.GLTFLoader: Failed to load buffer “scene.bin”.
at Object.onError (GLTFLoader.js:1749)
at XMLHttpRequest. (three.module.js:35866)
I am confused.Please help me with the problem.
Thank you very much

Could you share the code you are using the load the model, and how you are hosting or serving your code? If you’re not sure, see how to run things locally and existing glTF examples. The scene.bin file that came with your download must be kept in the same directory as the .gltf file. Alternatively, you can pack the two into one .glb file with glTF-Pipeline or glb-packer.glitch.me/ and just use that.

2 Likes

Here is my code ,thank you for your help very much!!
index.js (5.8 KB)

Both of two files are in same directory.I will try to pack the two into one.

I try to pack the two into one .glb file with glb-packer.glitch.me/ and it works.Thanks !!!

2 Likes