Hi! I’m currently trying to use the GLTF2 exporter to export my models.
Using GLBAsync/ GLTFAsync on the Playground seems to be working just fine, but when I’m using it on a current project, the .bin file is empty / the .glb file downloaded is pretty much empty.
Here’s the code snippet I’m using to download the model (basic usage, without options):
GLTF2Export.GLTFAsync(scene, "fileName").then(gltf => {
gltf.downloadFiles();
})
I checked for similar issues with an empty .bin/glb, and the only one I found was fixed by updating the dependencies, which I tried (everything is on the 4.2), but that unfortunately didn’t fix the problem.
One of the possible cause of the issue is that I’m using a lot of different materials, and some maybe unsupported. I removed every unsupported materials from the scene, but it didn’t fix it either.
Any ideas where I should be looking ?
Thanks a lot!