Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Other AR Foundation App rejected because of TrueDepth API

Discussion in 'AR' started by lucasfaesa, Apr 9, 2024.

  1. lucasfaesa

    lucasfaesa

    Joined:
    Jul 9, 2019
    Posts:
    3
    Unity ver. 2023.3.0b5
    AR Foundation ver. 6.0.0-pre.6
    ARKit XR Plugin ver. 6.0.0-pre.6


    Hello all,

    Recently, Apple rejected my app, stating that it includes the TrueDepth API. However, my app solely utilizes plane detection, and there are no face tracking references in my scene that could potentially trigger the TrueDepth API problem.

    Upon researching older forum posts and GitHub discussions, I found that the Unity development team mentioned separating the Face Tracking package to address this issue. However, the project I'm working on is the sample project I downloaded from Unity's GitHub repository, and there is no "Face Tracking Package" available for me to remove.

    Furthermore, it is explicitly stated in the "Apple ARKit XR Plugin" description that face tracking is included in the package, making it impossible for me to remove it without eliminating the entire ARKit package.



    I attempted to remove the libUnityARkitFaceTracking.a directly within Xcode, but the project fails to compile if I do so.

    Could you please advise on how I should proceed?
     
  2. KyryloKuzyk

    KyryloKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    1,163
    Disabling the 'Face Tracing' setting should exclude the libUnityARkitFaceTracking.a from the build, please try that.
    upload_2024-4-9_18-59-4.png
     
    andyb-unity and lucasfaesa like this.
  3. lucasfaesa

    lucasfaesa

    Joined:
    Jul 9, 2019
    Posts:
    3
    It worked perfectly, thanks!
     
    KyryloKuzyk likes this.