Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tzagi63 opened this issue Jul 8, 2024 · 0 comments

Comments

@tzagi63
Copy link

tzagi63 commented Jul 8, 2024

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant