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. Dismiss Notice

Bug AR Subsystems deprecated

Discussion in 'AR' started by ina, May 16, 2023.

  1. ina

    ina

    Joined:
    Nov 15, 2010
    Posts:
    1,058
    How do we fix this error - but I don't seem to have ARFoundation.Subsystem in manifest...

    AR Subsystems package has been deprecated. It is now a part of AR Foundation package. If you have an explicit dependency on AR Subsystems package then replace it with AR Foundation package in the manifest.json file.


    ```
    {
    "dependencies": {
    "com.kyrylokuzyk.arfoundationremote": "file:../Assets/Plugins/ARFoundationRemoteInstaller/com.kyrylokuzyk.arfoundationremote.tgz",
    "com.unity.collab-proxy": "2.0.0",
    "com.unity.feature.ar": "1.0.1",
    "com.unity.feature.development": "1.0.1",
    "com.unity.textmeshpro": "3.0.6",
    "com.unity.timeline": "1.7.2",
    "com.unity.ugui": "1.0.0",
    "com.unity.visualscripting": "1.8.0",
    "com.unity.xr.arfoundation": "5.0.5",
    "com.unity.xr.arkit": "5.0.5",
    "com.unity.modules.ai": "1.0.0",
    "com.unity.modules.androidjni": "1.0.0",
    "com.unity.modules.animation": "1.0.0",
    "com.unity.modules.assetbundle": "1.0.0",
    "com.unity.modules.audio": "1.0.0",
    "com.unity.modules.cloth": "1.0.0",
    "com.unity.modules.director": "1.0.0",
    "com.unity.modules.imageconversion": "1.0.0",
    "com.unity.modules.imgui": "1.0.0",
    "com.unity.modules.jsonserialize": "1.0.0",
    "com.unity.modules.particlesystem": "1.0.0",
    "com.unity.modules.physics": "1.0.0",
    "com.unity.modules.physics2d": "1.0.0",
    "com.unity.modules.screencapture": "1.0.0",
    "com.unity.modules.terrain": "1.0.0",
    "com.unity.modules.terrainphysics": "1.0.0",
    "com.unity.modules.tilemap": "1.0.0",
    "com.unity.modules.ui": "1.0.0",
    "com.unity.modules.uielements": "1.0.0",
    "com.unity.modules.umbra": "1.0.0",
    "com.unity.modules.unityanalytics": "1.0.0",
    "com.unity.modules.unitywebrequest": "1.0.0",
    "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    "com.unity.modules.unitywebrequestaudio": "1.0.0",
    "com.unity.modules.unitywebrequesttexture": "1.0.0",
    "com.unity.modules.unitywebrequestwww": "1.0.0",
    "com.unity.modules.vehicles": "1.0.0",
    "com.unity.modules.video": "1.0.0",
    "com.unity.modules.vr": "1.0.0",
    "com.unity.modules.wind": "1.0.0",
    "com.unity.modules.xr": "1.0.0"
    }
    }

    ```
     
  2. KyryloKuzyk

    KyryloKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    1,065
    Please check that you're using the latest AR Foundation Remote plugin version. The latest plugin version doesn't have the AR Subsystems dependency anymore, but the older ones do have it.
     
    makaka-org and andyb-unity like this.
  3. Thomas-Mountainborn

    Thomas-Mountainborn

    Joined:
    Jun 11, 2015
    Posts:
    489
    So I also just noticed this because of upgrading to 2022 with Mixed Reality OpenXR Plugin package, which has the AR subsystems as a dependency. The popup suggests removing the dependency from manifest.json, but the package depencies aren't there, only the actual packages. The dependencies are in packages-lock.json, but editing that has no effect. How are we supposed to fix it?
     
  4. unity_andrewc

    unity_andrewc

    Unity Technologies

    Joined:
    Dec 14, 2015
    Posts:
    196
    If you're relying on a package that depends on the AR Subsystems package, you cannot use AR Foundation 5.0+. The package you depend on either needs to upgrade to AR Foundation 5.0+, or you need to downgrade AR Foundation to something before 5.0.
     
  5. Thomas-Mountainborn

    Thomas-Mountainborn

    Joined:
    Jun 11, 2015
    Posts:
    489
    Good to know. Would be even better if the popup gives this info, instead of saying you can fix it in manifest.json!