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):
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!
I managed to fix the playground, and exporting the GLB seems to be working just fine (https://playground.babylonjs.com/#AAGKT6#7).
However, as I mentionned in my original post, whenever I try to do it on my project, I run into the empty .bin file.
My issue is very similar to this one:
In his post, he mentions that he ran into a dependencie issues, but he actually had an error that showed him some information, but I have none.
Any idea how that issue could be fixed / find if it’s a dependencie issue ?