Babylon sandbox cannot load a .babylon file that I exported from sandbox itself

I’m very new to webgl and babylon.js and I’m trying to import a 3d model.

  1. I found a random 3d model on sketchfab (Litten (No Texture) - Download Free 3D model by virtualturtle (@virtualturtle) - Sketchfab)
  2. Downloaded a scene.gltf file and a scene.bin
  3. Dropped both files to the babylon sandbox, it worked fine
  4. exported to .babylon
  5. I tried to upload it to sandbox but it doesnt work

Failed to load file:/// Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.

How could I load such model in babylon.js ? I was experimenting with the babylon loaders in code, without success.

Thank you,

Same issue here, weird (on Firefox & Chrome)

Chrome tell me another error: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL

1 Like

@gryff can you take a look at it?

This is because the exported .babylon file contains a direct link to the env map. Can you share the .babylon file that you’ve got?

This is not the same .babylon file but same problem. (I put a .glb file to sandbox then exported to babylon) (125.0 KB)

will be fixed by next nightly

1 Like

@Bezi_Laszlo : I guess it is an issue for the coders, as suggested by @Deltakosh’s response

cheers, gryff :slight_smile:

1 Like