Hello! This strange behavior with the loaders, referenced below, keep happening to me.
Hello. First of all, thanks for the awesome project!
So, I’m having issues while trying to import meshes in my app. The following errors and warning are being triggered:
[image]
I’m importing the loaders that way at the file that tries to import meshes:
[image]
And my webpack looks like this:
[image]
The meshes are being imported like this:
[image]
To treat with the path problem recognizing .glb files, I’m doing like this:
[image]
Can someone please help me? It worked this way a few…
The loaders seems to be identified only when I use legacy packages like this:
And if I try to use like this:
Keep triggering the following error:
For now I will continue using the working approach, but I really want to stop using the legacy packages and start to use more up to date versions but doesn’t realized what I need to do to accomplish that. Would be great if someone could help me.
I think @RaananW or @sebavan will be able to help for this one.
RaananW
November 30, 2022, 11:08am
3
That should not happen, especially if you are loading the entire package. Can you share the project?
labris
November 30, 2022, 1:13pm
4
Do you use the same version for all Babylon imports in package.json?
1 Like
Sure! Will share on private message, ok?
1 Like
Yes, they’re all with the same version.