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 Mars validation issue: ARKit not enabled

Discussion in 'Unity MARS' started by est_unity, Apr 4, 2023.

  1. est_unity

    est_unity

    Joined:
    Apr 21, 2021
    Posts:
    1
    Hi there!

    Unity Editor: 2021.3.22f1
    Dev machine: MacBook Pro (Intel, OSX 12.6.3)

    I installed MARS 1.5.0, along with AR Foundation 5.0.5 using the latest installer package.
    In the next step I installed the Apple ARKit XR Plugin 5.0.5. I had to manually set the version in the manifest.json though since the version automatically installed was 4.2.7. Then I adjust the project settings accordingly including the checkmark for the Apple AR Kit Plug-in provider.

    While the project validation under "XR Plug-in Management" shows no error/warning, the project validation under "MARS" fails saying that ARKit needs to be enabled. Hence the build process fails as well.

    I also tested with Unity Editor 2022.2.13f1 and 2021.2.19f1 with the same result.

    Dou you have advise what I might miss? Or is it a bug related to package versions?

    May I share the manifest.json with you:
    Code (CSharp):
    1. {
    2.   "dependencies": {
    3.     "com.unity.ar-companion-core": "3.0.0-exp.3",
    4.     "com.unity.collab-proxy": "2.0.1",
    5.     "com.unity.content-manager": "0.1.6-preview",
    6.     "com.unity.feature.development": "1.0.1",
    7.     "com.unity.ide.rider": "3.0.18",
    8.     "com.unity.ide.visualstudio": "2.0.17",
    9.     "com.unity.ide.vscode": "1.2.5",
    10.     "com.unity.mars": "1.5.0",
    11.     "com.unity.mars-ar-foundation-providers": "1.5.0",
    12.     "com.unity.mars-nav-mesh": "1.5.0",
    13.     "com.unity.runtime-scene-serialization": "0.6.0-preview",
    14.     "com.unity.test-framework": "1.1.31",
    15.     "com.unity.textmeshpro": "3.0.6",
    16.     "com.unity.timeline": "1.6.4",
    17.     "com.unity.ugui": "1.0.0",
    18.     "com.unity.visualscripting": "1.8.0",
    19.     "com.unity.xr.arfoundation": "5.0.5",
    20.     "com.unity.xr.management": "4.3.3",
    21.     "com.unity.xr.arkit": "5.0.5",
    22.     "com.unity.modules.ai": "1.0.0",
    23.     "com.unity.modules.androidjni": "1.0.0",
    24.     "com.unity.modules.animation": "1.0.0",
    25.     "com.unity.modules.assetbundle": "1.0.0",
    26.     "com.unity.modules.audio": "1.0.0",
    27.     "com.unity.modules.cloth": "1.0.0",
    28.     "com.unity.modules.director": "1.0.0",
    29.     "com.unity.modules.imageconversion": "1.0.0",
    30.     "com.unity.modules.imgui": "1.0.0",
    31.     "com.unity.modules.jsonserialize": "1.0.0",
    32.     "com.unity.modules.particlesystem": "1.0.0",
    33.     "com.unity.modules.physics": "1.0.0",
    34.     "com.unity.modules.physics2d": "1.0.0",
    35.     "com.unity.modules.screencapture": "1.0.0",
    36.     "com.unity.modules.terrain": "1.0.0",
    37.     "com.unity.modules.terrainphysics": "1.0.0",
    38.     "com.unity.modules.tilemap": "1.0.0",
    39.     "com.unity.modules.ui": "1.0.0",
    40.     "com.unity.modules.uielements": "1.0.0",
    41.     "com.unity.modules.umbra": "1.0.0",
    42.     "com.unity.modules.unityanalytics": "1.0.0",
    43.     "com.unity.modules.unitywebrequest": "1.0.0",
    44.     "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    45.     "com.unity.modules.unitywebrequestaudio": "1.0.0",
    46.     "com.unity.modules.unitywebrequesttexture": "1.0.0",
    47.     "com.unity.modules.unitywebrequestwww": "1.0.0",
    48.     "com.unity.modules.vehicles": "1.0.0",
    49.     "com.unity.modules.video": "1.0.0",
    50.     "com.unity.modules.vr": "1.0.0",
    51.     "com.unity.modules.wind": "1.0.0",
    52.     "com.unity.modules.xr": "1.0.0"
    53.   }
    54. }
    55.  
    Best
    Enrico
     

    Attached Files:

  2. yjianing

    yjianing

    Joined:
    Apr 19, 2023
    Posts:
    1
    I got the same problem
     
  3. estherbello

    estherbello

    Joined:
    Aug 11, 2021
    Posts:
    4
    same problem i have. been trying to work it out for days now. Have you figured out what the issue is please?
     
  4. 24shardul

    24shardul

    Joined:
    Aug 28, 2019
    Posts:
    1
    did you guys find any way to fix the problem?
     
  5. AMehta29

    AMehta29

    Joined:
    Oct 4, 2022
    Posts:
    4
    Same Problems....

    Only one thing works is creating a new project the setting up everything again. Thats also for some time and then the same error is occurring.
     
  6. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    194
    Yes, it's a bug. The workaround is to go to Assets > XR > Loaders and rename "ARKitLoader" to "AR Kit Loader"
     
    AMehta29 likes this.
  7. nnandico

    nnandico

    Joined:
    May 25, 2023
    Posts:
    1
    Thank you so much. This fix worked for me.