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.
  2. Dismiss Notice

Question AR Foundation based app crashes only on iPhone Pro (12 & 13)

Discussion in 'AR' started by zhukovv, Nov 25, 2021.

  1. zhukovv

    zhukovv

    Joined:
    Nov 4, 2019
    Posts:
    16
    Hello,
    a few users of our app report crashes on Pro models.

    Unfortunately, we don't have any Pro models at hand to test, but the app works fine on our iPhone 12, as well as with any other models. Only iPhone 12 Pro and iPhone 13 Pro seem to have the issue.

    Could it be related to the lidar?
    Is there any way to disable any lidar functionality?

    We didn't add ARMesh or anything lidar-related, just a typical AR setup.
    The app is built with Unity 2020.3.10f1 and ARFoundation 4.2.0

    Thank you in advance.
     
  2. unity_Hcs3E2G4zQ5MPw

    unity_Hcs3E2G4zQ5MPw

    Joined:
    Jul 8, 2021
    Posts:
    1
    Did you find a solution to this issue?
     
  3. davidmo_unity

    davidmo_unity

    Unity Technologies

    Joined:
    Jun 18, 2019
    Posts:
    99
    If you don't have an AROcclusionManager present in your scene then AR Foundation and the underlying Apple ARKit plug-in won't even attempt to enable the LiDAR on the device. Acquiring a stack trace of the crashes would be a good step to figuring out exactly what is going wrong on the relevant devices.