Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
2.98k stars 1.11k forks source link

[Bug] Image Tracking fails on iOS when built on Windows #1033

Open Johanna-D opened 1 year ago

Johanna-D commented 1 year ago

Unity bug report case number IN-24429

Describe the bug I used the arfoundation-samples project. I builded the scene ImageTrackingWithMultiplePrefab on Android (works fine) and on IOS, where I am facing an issue : when I look for example at the QRCode or the Rafflesia image, nothing happen ( on Android, I see the prefabs spawning).

To Reproduce Unity version : 2021.3.11f1 IOS version : 16.1.1 (Iphone 12 pro max) ARFoundation version : 4.2

To reproduce, open the scene ImageTrackingWithMultiplePrefab an build it on an IOS device. (Note that I am working on a Windows PC)

Expected behavior When I look at the Rafflesia image, a kind of flower model should appear. When I look at the QRCode, a helmet should appear.

Actual behavior Actually, when I look at those images, nothing appears. See attached image to see the result. On the left we can see the application working on the android device, and on the right it is not working on the IOS device. android_on_the_left_ios_on_the_right

Smartphone (please complete the following information):

Thank you very much for your help.

ankur-unity commented 1 year ago

Are you seeing this behavior only on iPhone 12 Pro Max or other iOS devices as well?

Johanna-D commented 1 year ago

I don't have any other IOS device available at the moment to test, I will try to find one and I'll let you know as soon as I can test it.

Brotherta commented 1 year ago

Same problem here on iPhone 13 Pro (iOS 16) and iPad Pro (iPad OS 16). Tried a lot of workarounds an no one worked. I even try to use an iPhone on iOS 15.

tdmowrer commented 1 year ago

Note that I am working on a Windows PC

This seems relevant. How are you building the ipa? Do you copy the project to a Mac? Cloud build?

Johanna-D commented 1 year ago

Here are the steps I follow to build for IOS :

I hope this can help.

Johanna-D commented 1 year ago

Hello, I wanted to give you another feedback, I tried to build the scene directly on a Mac and I did the whole process on the Mac and everything worked perfectly. I'd still like to be able to do the build on my Windows PC, but maybe this gives you an additional clue about where the problem lies.

andyb-unity commented 1 year ago

Hi all, the bug that @Johanna-D filed was closed by our incoming QA team as their project did not compile, but we have reproduced this error. We will update this thread when we have more information about a potential fix.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

andyb-unity commented 1 year ago

Removing the stale label as this issue is still open.