Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

ARCore & ARKit target architectures

Discussion in 'Handheld AR' started by GreeneMachine, Nov 20, 2018.

  1. GreeneMachine

    GreeneMachine

    Joined:
    Jul 3, 2015
    Posts:
    126
    What target architectures should we set in player settings for Android and IOS when we are only targeting devices that support ARKit/ARCore?

    ARKit
    I've seen some threads re: having problems archiving ARKit projects. The advice is to remove ARM7 target. The options available for Architecture in player settings for IOS is Universal or ARM64.
    So I presume we need to set this to ARM64? Or do we use Universal and remove ARM7 target in xCode?

    ARCore
    What Architectures should we enable? ARM7/ARM64/x86

    Thanks
     
  2. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    490
    For ARKit, just ARM64.

    For ARCore, currently we only support armv7 (it won't let you build the Android player if you select anything else). In the next release, this restriction will be removed, and we will support all 3 armv7, arm64, and x86.
     
    GreeneMachine likes this.
  3. hawken

    hawken

    Joined:
    Aug 22, 2013
    Posts:
    475
    Ju
    Is it possible for ARFoundation to change Unity Player setting on import from the package manager?

    Currently it defaults to Universal for iOS. This will build fine but Xcode fails and gives an cryptic error. This might trip up a lot of people new to ARFoundation.
     
  4. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    490
    It's possible, but we tend to avoid changing settings in a user's project automatically. In the short term, we can add a check during player build for this, and fail the build if it is set to something incompatible. Longer term, I think we should have an ARMv7 version of UnityARKit.a for AR-optional apps that might present an alternate experience on older devices.
     
    hawken and GreeneMachine like this.
  5. perchangpete

    perchangpete

    Joined:
    Oct 14, 2016
    Posts:
    6
    Is there any news on ARMv7? Or a possible workaround? We're in the process of retrofitting AR to and existing iOS app...