Good Afternoon everyone,
I am trying to import a pre-made mesh using ReactJS and @babylonjs/core, in the playground the SceneLoader.Append/ImportMesh works perfectly, however on my React Project I get this error in the develeper tools’ console:
“Uncaught (in promise) TypeError: babylonjs_core__WEBPACK_IMPORTED_MODULE_1_.SceneLoader.AppendAsync is not a constructor”
Is it possible to import meshes using @babylonjs/core or should I use another library ?
Here’s my code in my .js file: