Search Unity

Question No active UnityEngine.XR.ARSubsystems and black screen

Discussion in 'AR' started by tio_trident, Feb 3, 2021.

  1. tio_trident

    tio_trident

    Joined:
    Feb 3, 2021
    Posts:
    2
    I'm trying to create a new project with AR Foundation and ARKit, however every time I try to run this project, it returns me some errors and the screen goes black, does not show the camera.

    To create the project, I used all documentation described at AR Foundation > Basic Setup documentation.

    Versions:
    Unity 2020.2.2f
    AR Foundation 4.0.10
    ARKit 4.0.10

    Configurations:
    upload_2021-2-3_16-6-9.png
    upload_2021-2-3_16-6-24.png

    Erros:
    upload_2021-2-3_16-5-34.png
     
  2. FrankvHoof

    FrankvHoof

    Joined:
    Nov 3, 2014
    Posts:
    258
    ARKit is a part of iOS.
    I'm guessing you're not running the Unity Editor inside of iOS.
    Make a build, and run that on an iOS-device.
     
  3. tio_trident

    tio_trident

    Joined:
    Feb 3, 2021
    Posts:
    2
    I compiled for my iphone but follow with black screen and debug messages continue to be the same
     
  4. FrankvHoof

    FrankvHoof

    Joined:
    Nov 3, 2014
    Posts:
    258
    How are you checking the debug messages? (Through XCode?) And what exactly are the logs showing?