Search Unity

Unable to run ARFoundation demo on device

Discussion in 'Handheld AR' started by HonorableDaniel, Sep 19, 2019.

  1. HonorableDaniel

    HonorableDaniel

    Joined:
    Feb 28, 2007
    Posts:
    2,829
    I'm trying to run the ARFoundation sample project on my device, and it's not working. Any suggestions? I read that ARKit 3 requires iOS 13.1 in the ARFoundation sample docs, is this true? It doesn't sound right to me. Please take a look at the Console output.
    2019-09-18 16:33:26.972112-0700 samples[358:19467] Built from '2019.2/staging' branch, Version '2019.2.5f1 (9dace1eed4cc)', Build type 'Release', Scripting Backend 'il2cpp'

    2019-09-18 16:33:26.978087-0700 samples[358:19467] -> registered mono modules 0x103b81050

    -> applicationDidFinishLaunching()

    2019-09-18 16:33:27.783872-0700 samples[358:19467] Metal GPU Frame Capture Enabled

    -> applicationDidBecomeActive()

    [XR] Discovering subsystems at path /var/containers/Bundle/Application/B9531490-09C4-495C-9611-9E29B074E1E5/samples.app/Data/UnitySubsystems

    [XR] No descriptors matched for examples in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.

    [XR] 1 'inputs' descriptors matched in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json

    [XR] No descriptors matched for cameras in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.

    [XR] No descriptors matched for displays in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.

    [XR] No descriptors matched for depths in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.

    [XR] No descriptors matched for meshings in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.

    [XR] No descriptors matched for planes in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.

    [XR] No descriptors matched for raycasts in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.

    [XR] No descriptors matched for referencePoints in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.

    [XR] No descriptors matched for sessions in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.

    [XR] No descriptors matched for experience in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.

    [XR] No descriptors matched for gestures in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.

    Initializing Metal device caps: Apple A12 GPU

    Initialize engine version: 2019.2.5f1 (9dace1eed4cc)

    WARNING: Shader Unsupported: 'Hidden/Internal-GUITexture' - Pass '' has no vertex shader

    2019-09-18 16:33:28.788315-0700 samples[358:19467] Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED

    2019-09-18 16:33:28.798475-0700 samples[358:19467] Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED

    2019-09-18 16:33:28.806914-0700 samples[358:19467] Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED

    2019-09-18 16:33:28.806980-0700 samples[358:19467] MTLCompiler: Compilation failed with XPC_ERROR_CONNECTION_INTERRUPTED on 3 try

    Metal: Error creating pipeline state (Hidden/Internal-GUITexture): Compiler encountered an internal error

    (null)2019-09-18 16:33:38.915142-0700 samples[358:19467] Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED

    2019-09-18 16:33:48.952302-0700 samples[358:19467] Compiler failed with XPC_ERROR_CONNECTION_INTERRUPTED
     
    Last edited: Sep 19, 2019
  2. tdmowrer

    tdmowrer

    Unity Technologies

    Joined:
    Apr 21, 2017
    Posts:
    547
    Unfortunately, the console log doesn't tell me much. ARKit 3 does require iOS 13. What version of ARFoundation, ARKit XR Plugin, Xcode, and iOS are you using?