Search Unity

ARFoundation black screen [iOS/iPAD]

Discussion in 'AR/VR (XR) Discussion' started by mitikalicenses, Aug 1, 2019.

  1. mitikalicenses

    mitikalicenses

    Joined:
    Feb 7, 2019
    Posts:
    3
    Some tech info first:
    Unity Version: 2018.3.5f1
    ARFoundation Version: 1.5.0-preview 6
    ARKit XR Plugin: 2.1.1
    XCode version: 10.2.1 (10E1001)
    iPAD Version: 12.3.1 (16F203)

    [x] Yes, I added the Camera Usage description
    [x] Yes, I authorized the use of the camera by the app when lauching

    I followed this tutorial [
    ]

    Here is the log when I build and open the app:

    #####
    2019-08-01 17:49:43.267700-0300 cidadeAR[2117:638912] [DYMTLInitPlatform] platform initialization successful

    2019-08-01 17:49:43.291099-0300 cidadeAR[2117:638868] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles

    2019-08-01 17:49:43.291601-0300 cidadeAR[2117:638868] [MC] Reading from public effective user settings.

    2019-08-01 17:49:43.301821-0300 cidadeAR[2117:638868] Built from '2018.3/release' branch, Version '2018.3.5f1 (76b3e37670a4)', Build type 'Release', Scripting Backend 'il2cpp'

    2019-08-01 17:49:43.303247-0300 cidadeAR[2117:638868] -> registered mono modules 0x105f82a40

    -> applicationDidFinishLaunching()

    2019-08-01 17:49:43.378728-0300 cidadeAR[2117:638868] Metal GPU Frame Capture Enabled

    2019-08-01 17:49:43.379691-0300 cidadeAR[2117:638868] Metal API Validation Disabled

    2019-08-01 17:49:43.459420-0300 cidadeAR[2117:638868] [Warning] Trying to set delaysTouchesBegan to NO on a system gate gesture recognizer - this is unsupported and will have undesired side effects

    -> applicationDidBecomeActive()

    Initializing Metal device caps: Apple A10 GPU

    Initialize engine version: 2018.3.5f1 (76b3e37670a4)

    WARNING: Shader Unsupported: 'Standard' - Pass 'META' has no vertex shader

    WARNING: Shader Unsupported: 'Standard' - Pass 'META' has no vertex shader

    WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - Pass 'DEFERRED' has no vertex shader

    WARNING: Shader Unsupported: 'Legacy Shaders/Diffuse' - Pass 'Meta' has no vertex shader

    WARNING: Shader Unsupported: 'MASK/MainShader' - Pass 'Meta' has no vertex shader

    UnloadTime: 0.346000 ms

    NullReferenceException: Object reference not set to an instance of an object.

    at UnityEngine.XR.ARFoundation.ARCameraBackground.CreateMaterialFromSubsystemShader () [0x00000] in <00000000000000000000000000000000>:0

    at UnityEngine.XR.ARFoundation.ARCameraBackground.get_subsystemMaterial () [0x00000] in <00000000000000000000000000000000>:0

    at UnityEngine.XR.ARFoundation.ARCameraBackground.UpdateMaterial () [0x00000] in <00000000000000000000000000000000>:0

    at UnityEngine.XR.ARFoundation.ARCameraBackground.OnEnable () [0x00000] in <00000000000000000000000000000000>:0


    (Filename: currently not available on il2cpp Line: -1)


    NullReferenceException: Object reference not set to an instance of an object.

    at TapToPlace.UpdatePlacementePose () [0x00000] in <00000000000000000000000000000000>:0

    at TapToPlace.Update () [0x00000] in <00000000000000000000000000000000>:0


    (Filename: currently not available on il2cpp Line: -1)


    2019-08-01 17:52:12.604877-0300 cidadeAR[2117:639026] [Technique] World tracking performance is being affected by resource constraints [1]

    -> applicationWillResignActive()

    -> applicationDidEnterBackground()

    -> applicationWillTerminate()

    Setting up 1 worker threads for Enlighten.

    Thread -> id: 16c60b000 -> priority: 1

    NullReferenceException: Object reference not set to an instance of an object.

    at UnityEngine.XR.ARFoundation.ARCameraBackground.OnDisable () [0x00000] in <00000000000000000000000000000000>:0


    (Filename: currently not available on il2cpp Line: -1)
    ####
     
    lemapp likes this.