Error when loading glTF files exported with Needle in regular three.js

Also just made a PR to three to ensure files at least load, not cause an exception
(but animations won’t load until the relevant PRs are merged as well)

:partying_face: merged the Needle GLTF loader, it’s fixed the Animator Component causing errors

by user 617973759852281873

are there any other bits you think need merging?

by user 617973759852281873

I’ve noticed now and then the textures for models are missing on import, for Blender too. Will do some investigation / start a new question

by user 617973759852281873

depends on your materials for export

also if you’re compressing files (e.g. do a production build and take those glbs) then Blender won’t be able to load them - doesn’t support importing KTX2 textures and compressed meshes right now as far as I’m aware

It was the materials thanks :blush:

by user 617973759852281873

If you want maximum glTF compatibility, I recommend using the UnityGltf/PBRGraph materials - pretty extensive support for glTF extensions

And no “guessing” of how it will come out, 1:1 mapping between Unity material properties and glTF properties

having a looky :face_with_monocle:

by user 617973759852281873