Cannot load an obj file

Hello,
I cannot load obj’s from my local hard drive anymore. It used to work just a couple of days ago. Here is playground to demo the problem - click the browse button and try to load your obj file

Please let me know if I need to load obj’s differently now
Thank you

I believe this is the bug, because it works in 8.5.0 https://playground.babylonjs.com/?version=8.5.0#SA6QBM#34
And doesn’t work at 8.6.0 https://playground.babylonjs.com/?version=8.6.0#SA6QBM#34
@Deltakosh

2 Likes

We get a “Not allowed to load local resource” from webRequest, I don’t know why:

image

cc @RaananW, I’m not sure what can explain this error between 8.5.0 and 8.6.0.

looking into that right now

2 Likes

PR is coming soon :slight_smile:

2 Likes

The problem was a switch to a new API that required adding a “/” between the root URL and the filename. I can provide a solution for this playground, but since we are backwards compatible I reverted it and will go over the different use cases to make sure the new API supports all of them. This is the PR - Move back to old API till all use cases are clear by RaananW · Pull Request #16566 · BabylonJS/Babylon.js · GitHub

3 Likes