Skip to content

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

@tzagi63

Description

@tzagi63

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions