Search Unity

Question Building in Headless Mode won't set Device Capabilities for iOS ARKit Camera Access

Discussion in 'AR' started by maxOculavis, Jun 1, 2022.

  1. maxOculavis

    maxOculavis

    Joined:
    Apr 27, 2018
    Posts:
    8
    Hello Community, I've got the following problem:
    I have an iOS app that uses ARFoundation and ARKit, which will bild just fine when i build it from Editor.
    However, if i build it in headless mode, the resulting Xcode Project will not have the correct capabilities set in UIRequieredDeviceCapabilities ine Info.plist file.

    Can anyone tell me how this is normally set? What could be the difference compared to building this regularly?

    Thanks in advance for any help.
     
  2. DonPepe

    DonPepe

    Joined:
    Jun 5, 2013
    Posts:
    11
    Woupsi, seams like Unity has the same problem as I'm experiencing this with their cloud builds as well. Building locally just works fine as the cloud build doesn't even as for camera access :/
     
  3. davidmo_unity

    davidmo_unity

    Unity Technologies

    Joined:
    Jun 18, 2019
    Posts:
    99