Unable to load obj file in angular application

I have an OBJ file, which I want to import in my scene.
I am able to import and see the file in sandbox and in playground. However it is not visible in my angular application.

File - BabylonTest/example.obj at main · AsmitaAgrawal/BabylonTest (github.com)

Playground - https://playground.babylonjs.com/#JUKXQD#5202

I am using installed version 6.10.0 .
I get the following error in console -
Unhandled expression at line : l 8372 8373 File - solidParser.js line 525

I have imported the objFileLoader as well in my code.

Am I missing something?

I think you don’t use the right version for the loaders: make sure you also use the 6.10.0 version.

1 Like

Thank You!

I was mistaken.
Both core and loaders are 5.57.1 version.
For upgrading the babylon version, I will need to move my application to angular 16.
Need to wait for it to test this.