GLTF2Export exports a "broken" file

Hi all!

So, I have a react app with Babylon integrated into it, I’ve appended a GLB model into it and I need to export the scene to a GLB file, however, when doing so, the model somehow gets broken and the downloaded file has validation issues.

When I created a similar thing in a playground, it’s working fine, but when doing it in React, then I have those problems

prnt.sc/SR1GdeGEwoYy

I would recommend to use BJS v5.0 (we are shipping in 2 weeks) as we fixed several issues with gltfExport

Oh, now I noticed that I was using version 5 in the playground. I guess we’ll have to wait for it to come out. Thanks so much

1 Like

You can really go with it as codebase is final :slight_smile:

1 Like