Search Issue Tracker

Won't Fix

Votes

4

Found in [Package]

1.5.0

Issue ID

MARS-1520

Regression

No

[MARS] MARS ARKit build fails with validation error "Please enable the "ARCore" plugin in 'XR Plug-in Management'"

Package: MARS

-

Steps to reproduce:
1. Create a new project
2. Download and import the Mars installer asset package (https://docs.unity3d.com/Packages/com.unity.mars@1.5/manual/Installation.html#download)
3. Enable Google ARCore XR plugin provider
4. In Project Settings go to "Mars -> Project Validation" and observe the validation error of "[ARCore plugin enabled] Please enable the "ARCore" plugin in "XR Plug-in Management"
5. Build for Android

Expected results: build succeeds
Actual Results: build fails with the exception
"Please enable the 'ARCore' plugin in 'XR Plug-in Management'.
Open Project Setting > XR Plug-in Management > Android tab and enable `ARCore`."

Reproducible with: MARS 1.5.0 (2020.3.47f1, 2021.3.24f1, 2022.2.17f1, 2023.1.0b13, 2023.2.0a11)

Environment: Windows 10 22H2

Notes:
-ARCore plugin is enabled in the 'XR Plug-in Management'
-AR Foundation 5.0.5 and ARKit XR Plugin 5.0.5 was used to reproduce the issue
-As per the user report it's reproducible on Windows and macOS

  1. Resolution Note:

    We do not have any additional MARS updates planned at this time. The workaround is to go to Assets > XR > Loaders in your project and rename the "ARCoreLoader" asset to "AR Core Loader".

Comments (3)

  1. RichTufty

    Jul 25, 2023 15:24

    I was getting this on Unity Cloud Build targeting iOS, the workaround above by adding spaces in the file name seems to have not got past the issue

  2. CiaranWills

    Jun 27, 2023 00:11

    The workaround is to go to Assets > XR > Loaders and rename "ARCoreLoader" to "AR Core Loader", or "ARKitLoader" to "AR Kit Loader" for iOS.

  3. 24shardul

    May 07, 2023 15:57

    Getting the issue for iOS(ARKit) as well as Android(ARCore). Unable to build the scene

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.