ARFoundation project is unable to track images in IOS

Hello

As the title suggests, I currently have a game that works has intended in Android but doesn’t in IOS. More specifically the image tracking isn’t working on the IOS device.

I checked and after making the IOS build that the folder that contains the reference images actually has the images(location is at Unity-Iphone>ARReferenceImages.xcassets>ImageLibrary).
All settings seem to be in order as well. ARKit provider is toggle on.

The build process itself seems to be in order with no errors.

Unity 2021.3.33f1
ARKIT and ARFoundation version are 5.0.3

Can anyone help in discovering what the issue is? I’m running out of ideas

Thanks

Hello, having the same issue here.
My app works fine on Android but when build to IOS the tracking does not work as properly. When an image is scanned a prefab appears that contains a Quad with a video player in it to display a video on top of the scanned image. It works well on Android but for IOS for some reason the Quad appears not in the place that is supposed to be which is on top of the scanned image.
Through testing I was able to somewhat find where the Quad was appearing and was very out of place. I’m trying to do everything to move it around and have it on the place where it supposed to be but it is impossible as every little move that I do (position, scale, size) messes up and ends up completely disappearing the Quad.

Unity 2022.3.11f1
ARKIT and ARFoundation 5.1.2

Btw, you mentioned that you did find the image library in the Unity-Iphone>ARReferenceImages.xcassets>ImageLibrary
I’m not able to find my reference image library in that directory, I only find the test libraries. Did you do something on Unity to have it like that?

@claudioocs7 according to this thread , if you are building with a Mac the project itself doesn’t build ARRenferenceImages.xcassets, it is built-in.

Edit1: Sorry for the wait time in response

Thanks @Bernardo_Valverde , just read the thread. I’m having that same issue, the thing is for me even though the library is not present on the xcode project the images are still being detected by the AR camera and the main issue is that the image is being scan and the prefab is being instantiated but it is very out of place. The prefabs being instantiated out of place is something that should not being happening because I’m instantiating them as a child of the scanned image hence they have the same position, rotation and scale and I confirmed this through debug logs.

I have tried everything to move the prefab around with buttons that I added to change the position and rotation of the instantiation but so far I just managed to be able to see it but still very off placed, rotated weirdly and gigantic. I’m out of ideas, there is not a setting that I can adjust to make it how it looks on android.

I managed to get more details on what might be the issue on my case. I made a new thread since this was made to get ideas on what the issue could be.

Link to thread