ReactVision / expo-starter-kit

NativeVision starter kit - Expo with JavaScript
https://nativevision.xyz
MIT License
1 stars 4 forks source link

Catching -Unable to resolve "./obj3d/artifact.obj" from "App.js" - error when using Viro3DObject component #5

Open tzagi63 opened 2 months ago

tzagi63 commented 2 months ago

I'm using expo dev-client on android device and I'm following the Eduardo advises (many thaks to him) about the expo-starter-kit correct installation and utilization. I'm doing a step by step incremental update of the project to try every single aspect of AR capabilities. Everithing goes right like image tracking, texturized ViroBox and ViroSphere with any type of lights but when I try to use Viro3DObject always get this error: Unable to resolve "./obj3d/artifact.obj" from "App.js" screen

After a very time-expensive search, I haven't yet fixed this issue. It seems that expo doesn't recognize the .obj type of file, while work fine with .jpg and .png file. At this point I think It could be a configuration problem and I've tryed to put on the field the metro.config.js file... but I'm not sureit's the right solutions, infact, (very strange thing) if I use an uri address instead the path of the local obj file, all goes well so I don't understand what it's happened. I saw that other people has same issue and sometime they had found a solution but none of those are good for my case.

Can anyone help me? Thanks in advance!