Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question No active UnityEngine.XR.ARSubsystems.XRSessionSubsystem is available.

Discussion in 'AR' started by Pavetl, Mar 9, 2023.

  1. Pavetl

    Pavetl

    Joined:
    Aug 24, 2022
    Posts:
    1
    Hello, I have started to develop an AR app using unity (currently using Unity 2022.2.9f1) and I get these warning messages every time I hit the play button:


    No active UnityEngine.XR.ARSubsystems.XRSessionSubsystem is available. Please ensure that a valid loader configuration exists in the XR project settings.
    UnityEngine.XR.ARFoundation.ARSession:OnEnable () (at ./Library/PackageCache/com.unity.xr.arfoundation@5.0.4/Runtime/ARFoundation/ARSession.cs:342)


    No active UnityEngine.XR.ARSubsystems.XRCameraSubsystem is available. Please ensure that a valid loader configuration exists in the XR project settings.
    UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`3<UnityEngine.XR.ARSubsystems.XRCameraSubsystem, UnityEngine.XR.ARSubsystems.XRCameraSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRCameraSubsystem/Provider>:OnEnable () (at ./Library/PackageCache/com.unity.xr.arfoundation@5.0.4/Runtime/ARFoundation/SubsystemLifecycleManager.cs:68)


    No active UnityEngine.XR.ARSubsystems.XRImageTrackingSubsystem is available. Please ensure that a valid loader configuration exists in the XR project settings.
    UnityEngine.XR.ARFoundation.ARTrackableManager`5<UnityEngine.XR.ARSubsystems.XRImageTrackingSubsystem, UnityEngine.XR.ARSubsystems.XRImageTrackingSubsystemDescriptor, UnityEngine.XR.ARSubsystems.XRImageTrackingSubsystem/Provider, UnityEngine.XR.ARSubsystems.XRTrackedImage, UnityEngine.XR.ARFoundation.ARTrackedImage>:OnEnable () (at ./Library/PackageCache/com.unity.xr.arfoundation@5.0.4/Runtime/ARFoundation/ARTrackableManager.cs:104)


    No active UnityEngine.XR.XRInputSubsystem is available. Please ensure that a valid loader configuration exists in the XR project settings.
    UnityEngine.XR.ARFoundation.ARInputManager:OnEnable () (at ./Library/PackageCache/com.unity.xr.arfoundation@5.0.4/Runtime/ARFoundation/ARInputManager.cs:24)

    I have installed XR plugins for both Android and iOs (AR Core and ARKit respectively) and upgraded to its latest versions. I also have the latest AR Foundation Package installed (5.0.4) and AR Subsystems (5.0.2) so I am not sure if this warnings affect to the development of the project or is something I shouldn't be worried about.

    Thank you in advance for the help.
    upload_2023-3-8_18-55-43.png
     

    Attached Files:

    fynnthecreator likes this.
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    525
  3. KyryloKuzyk

    KyryloKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    984
    Or using the AR Foundation Remote plugin is also an option. As well as the Simulation feature, it allows running AR projects right inside the Editor.
     
  4. fynnthecreator

    fynnthecreator

    Joined:
    Feb 24, 2023
    Posts:
    1
    No answer on how to solve these error messages? I do get the warnings as well, when deployed to my IOS device (Iphone 14). When using the app on my phone Occlusion is not working even though I don't have any warnings/ error messages besides the Subsystem ones.
     
  5. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    525
    @fynnthecreator These warnings simply indicate that there is no subsystem available. This is not enough information to determine why.

    As basic troubleshooting steps, make sure that your project configuration is valid. As another possibility, note that there is an open bug right now that requires that you make iOS builds from Unity on Mac. Building your Xcode project from Windows does not work with AR Foundation at the moment.
     
    KyryloKuzyk likes this.