Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

ARfoundation missing ARRefereancesImages folder in Xcode

Discussion in 'AR' started by JasonJohn1977, Sep 4, 2019.

  1. JasonJohn1977

    JasonJohn1977

    Joined:
    Aug 12, 2013
    Posts:
    19
    Hello,

    I'm trying to build to iOS using ARfoundation (Unity version 2019.1.10f1) However whenever I build and run my image scans aren't working and I'm getting this error in Xcode

    "InvalidOperationException: Failed to set requested image library 'ImageUnlocks' on ARKit - there is no matching resource group, or the resource group does not contain any reference images."

    When I look in the "Unity-iPhone" Folder in Xcode I can see ARReferenceObjects.xcassets but theres no ARReferenceImages file, can I manually make this if the Unity project isn't genning it, any ideas whats happening here?

    Thanks.
     
  2. Voronoi

    Voronoi

    Joined:
    Jul 2, 2012
    Posts:
    584
    Possibly this is the fix.
     
  3. JasonJohn1977

    JasonJohn1977

    Joined:
    Aug 12, 2013
    Posts:
    19
    Thanks for the fix, I've gotten a little further now but now I have a different issue, I have the folder but the app freezes when it scans an image trigger now giving me this error:

    "Uncaught exception: NSInvalidArgumentException: -[ARImageAnchor isTracked]: unrecognized selector sent to instance 0x1c01526f0"