GLTF2 GLB exporter is producing invalid glb file

@Gautam-Dabral I do not understand your issue :frowning: Can you please provide a repro in the playground instead of copy pasting code here ? this would help us address the issue ?

2 Likes

Hello @sebavan
I am not sure if i can reproduce the same condition in the playground because I am completely unaware as to how i can use server side logic in the playground :sweat_smile: :sweat_smile:.

But to summarize my issue in one line -
I am trying to write a serialized scene as a “.babylon” file in a folder but it is producing an invalid file (file size < 10kb) but when i download the same serialized scene it is producing a valid file but still the downloaded scene has some elements missing ( like shadows and environment ).

I have provide a link to the file that is being downloaded.

Please help :smiling_face_with_tear: :pray:

Hello @RaananW @sebavan,
I took your advice and used xmlhttprequest to send the file and then used ‘multer’ for uploading the file in the desired folder.

Problem solved.

Thankyou so much for your time and help.

:smile: :grin: :pray:

3 Likes