Exported GLTF doesn't load in Blender


When I try to load an exported GLTF in Blender I get a following error:

The problem can be easily reproduced in this cosy app (“Save Scene as a GLTF” button in 3D view):

Is it a three.js-side problem or Blender-side one?

Can you please share the exported glTF file in this thread? BTW: Are you using THREE.GLTFExporter? And are you using the Blender glTF 2.0 Importer and Exporter or something different?

This is a bug in the Blender importer. You can verify that the file itself is valid by opening the file in http://gltf-viewer.donmccurdy.com/ or glTF Validator.

Aside, note that the model has ~250 materials and meshes and could be made more efficient by reusing materials or merging meshes.

1 Like

Thanks. I reported this bug and it was quickly fixed by addon developers.