I am attempting to load an .obj file into babylonjs but it appears to be silently failing as BABYLON.SceneLoader.ImportMeshAsync
gives result.meshes
with no elements in it.
There is a repo here: GitHub - AJamesPhillips/3d_sandbox
Which you can get running using:
npm install
npm run dev
Then:
- navigate to http://localhost:3000
- open console, refresh page, and you should hit a debugger here: 3d_sandbox/create_tree.ts at acc5339407888fd6e92d14bc99ca0a44c78683b5 · AJamesPhillips/3d_sandbox · GitHub
I don’t observe any error, it’s just that no meshes are present.
When I drag the same .obj into https://sandbox.babylonjs.com/ it seems to work as expected.
I’ve read the docs so any tips / pointers on how to debug this would be appreciated.
Thank you