Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Failed to resolve image library - XCode iOS

Discussion in 'Unity MARS' started by milhamfzn, Oct 14, 2021.

  1. milhamfzn

    milhamfzn

    Joined:
    Aug 24, 2021
    Posts:
    5
    So I make an app for Android and iPhone. The app itself has no any differences feature or code in both platforms. I've no issue when I deploy it for Android but then when I try to build it for iOS, these errors come out :
    Screen Shot 2021-10-14 at 12.22.05.png

    The app is successfully built, but can't track any image.
    Screen Shot 2021-10-14 at 12.21.30.png

    The thing is I have no idea why this could happen, because I already assign the 'ImageLibary' in Unity inside MARSSession.
    Can someone help me with this issue? I've been stuck for almost 1 week just to figure out the solutions...

    Thank you so much Screen Shot 2021-10-14 at 12.22.05.png Screen Shot 2021-10-14 at 12.21.30.png

    EDIT : Currently using Unity 2020.3, MARS 1.3, and XCode 13
     

    Attached Files:

    Last edited: Oct 14, 2021
  2. jmunozarUTech

    jmunozarUTech

    Unity Technologies

    Joined:
    Jun 1, 2020
    Posts:
    295
    Hey there, Seems you have an issue with the marker library; could you check that on your MARS Marker library you have next to it a file with the same name that ends in _arf ?. MARS needs both to work.

    Also, could you tell us if this also happens on latest Mars 1.3.1?
     
  3. milhamfzn

    milhamfzn

    Joined:
    Aug 24, 2021
    Posts:
    5
    Thanks for the reply.

    Yes I have both MarkerLibrary in the same folder...

    I've tried to update the MARS version to 1.3.1 and still with same result...
     
  4. jmunozarUTech

    jmunozarUTech

    Unity Technologies

    Joined:
    Jun 1, 2020
    Posts:
    295
    Hey there!,

    Could you check if it happens on an empty project with just image markers?
     
  5. milhamfzn

    milhamfzn

    Joined:
    Aug 24, 2021
    Posts:
    5
    Yeah I did that too. I've made a simple image tracking with just a cube shown up. And it's still same...
     
  6. jmunozarUTech

    jmunozarUTech

    Unity Technologies

    Joined:
    Jun 1, 2020
    Posts:
    295
    Thats quite strange; could you tell us what version of ARFoundation ARKit and ARCore are you using?, also ARF providers. Are you able to check if this still happens on XCode 12.5?. Which version of XCode 13 are you using, final release or a Beta. (And if its a beta, which Beta)
     
  7. milhamfzn

    milhamfzn

    Joined:
    Aug 24, 2021
    Posts:
    5
    - AFoundation 4.1.7
    - ARKit 4.1.7
    - ARCore 4.1.7
    - AR Providers 1.3.1

    Nope, I haven't try it on XCode 12.5, and for XCode 13 it's full release version already
     
  8. jmunozarUTech

    jmunozarUTech

    Unity Technologies

    Joined:
    Jun 1, 2020
    Posts:
    295
    We are looking into this, could you please try it out with XCode 12.5 just to cover al bases?
     
  9. milhamfzn

    milhamfzn

    Joined:
    Aug 24, 2021
    Posts:
    5
    Ok, I've tried it and still same as before...

    I also have tried to build an empty scene with ImageLibrary attached in the MARSSession and got different error.
    Screen Shot 2021-10-18 at 19.37.28.png
     
    jmunozarUTech likes this.
  10. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    151
    I've been unable to reproduce this (with XCode 13) - would you be able to file a bug report (Help -> Report a bug...) from one of your projects that has the error? That'll help us track it down.
     
  11. MattJackB

    MattJackB

    Joined:
    Oct 14, 2018
    Posts:
    35