Can't save scene to .babylon file after importing a glb file

hi as above i can’t seem to save to .babylon scene file as in it wont save my imported and displayed glb file from blender the scene export will only save certain meshes like a sphere primitive, what am i missing here

i get this for meshes in the json exported: “meshes”:[]

Hey and welcome!
Can you repro in the playground?

https://playground.babylonjs.com/#3EBHRK

i’m not downloading in the browser but rather sending “blob” as a POST request back to python flask and that part works ok, only i’m not getting the suzane mesh

Yeah it is complicated to help without a tiny repro at least :frowning:

sorted it i put the POST function in engine.runRenderLoop(function () { … }
works great thanks for any help.

1 Like