Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Error on Xcode when trying to build my ARFoundation Project from Unity.

Discussion in 'AR' started by nifilo_unity, May 1, 2019.

  1. nifilo_unity

    nifilo_unity

    Joined:
    Oct 27, 2018
    Posts:
    5
    Hi Guys.

    I'm using Unity 2018.3.14f1. My App is an ARFoundation project (AR Foundation .22, ARCore XR Plugin .24 and ARKit XR Plugin .27).
    Everything works when I compile the AR Foundation example, but I get this error when I'm compiling my App:

    Bug.png
    Am I missing something or might there be an issue?

    Thanks!
     
  2. tdmowrer

    tdmowrer

    Joined:
    Apr 21, 2017
    Posts:
    605
    You are trying to use face tracking without having enabled face tracking. Either enable it, or remove any scripts that reference the ARKitFaceSubsystem.

    You would likely see this if you copied over the entire samples repo into your own project but did not also enable face tracking.
     
  3. nifilo_unity

    nifilo_unity

    Joined:
    Oct 27, 2018
    Posts:
    5
    Oh thanks!