Search Unity

Question Error Upgrading from AR-Foundation 2.2.0 - preview 3 to 4.1.7 - no suitable method found to override

Discussion in 'AR' started by benjaminbauer, Nov 29, 2021.

  1. benjaminbauer

    benjaminbauer

    Joined:
    Feb 26, 2019
    Posts:
    2
    Hello,

    I needed to upgrade an iOS AR Projekt from Unity 2019.2.0f1 to Unity 2020.3.23f1.
    AR-Foundation and AR-Kit was upgraded from 2.2.0 - preview 3 to 4.1.7.
    But I get cannot run any scene because of this Error:

    Library/PackageCache/com.unity.xr.arkit@4.1.7/Runtime/ARKitSessionSubsystem.cs(345,34): error CS0115: 'ARKitSessionSubsystem.ARKitProvider.Update(XRSessionUpdateParams, Configuration)': no suitable method found to override

    I tried out different Package Versions, but no success. Is there anything I missed?

    Here also my manifest.json if helpful:

    {
    "dependencies": {
    "com.unity.2d.sprite": "1.0.0",
    "com.unity.2d.tilemap": "1.0.0",
    "com.unity.collab-proxy": "1.15.1",
    "com.unity.ext.nunit": "1.0.6",
    "com.unity.ide.rider": "2.0.7",
    "com.unity.ide.visualstudio": "2.0.11",
    "com.unity.ide.vscode": "1.2.4",
    "com.unity.postprocessing": "2.3.0",
    "com.unity.recorder": "2.5.7",
    "com.unity.test-framework": "1.1.29",
    "com.unity.textmeshpro": "3.0.6",
    "com.unity.timeline": "1.4.8",
    "com.unity.ugui": "1.0.0",
    "com.unity.xr.arfoundation": "4.1.7",
    "com.unity.xr.arkit": "4.1.7",
    "com.unity.xr.management": "4.1.0",
    "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,144
    Please try to install the AR Subsystems 4.1.7 package.
     
  3. benjaminbauer

    benjaminbauer

    Joined:
    Feb 26, 2019
    Posts:
    2
    AR Subsystems 4.1.7 is already installed. I also tried already upgrading all to 4.2.1, but same error..
     
  4. tdmowrer

    tdmowrer

    Joined:
    Apr 21, 2017
    Posts:
    605
    That error looks like a red herring. Is this the only error? There may be other errors that are preventing the this assembly from being recompiled. You can also try closing Unity and nuking your Library folder to force a full reimport (this can take some time depending on the size of your project, though).
     
    KyryloKuzyk likes this.