"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

ARCore with Android build for Unity & Vuforia

Hi All,

 

Not sure if this is the correct forum, and if not I will move it. Thank you in advance.

Unity Version: 2020.3.32f1

Vuforia Version: 10-5-5

Im having a strange issue with creating an Android build and trying to use ARCore (vers. 4.1.9). If I attempt to use this through the Vuforia Configuration and then attempt to build, i get these errors:

 

[quote]ARMv7 is not compatible with the ARCore version included when using the "Include ARCore Library" option in the VuforiaConfiguration. To use an older version of ARCore which supports ARMv7, please include ARCore manually in your project instead.

UnityEngine.Debug:LogError (object) Vuforia.EditorClasses.PlayerSettingsValidationResultExtensions:Log (System.Action`1<string>,string) Vuforia.EditorClasses.PlayerSettingsValidationResultExtensions:Error (string) Vuforia.EditorClasses.PlayerSettingsValidationResultExtensions:LogHighSeverity (Vuforia.EditorClasses.PlayerSettingsValidationResult) PlayerSettingsValidationTask:Execute () BuildObserver/<>c:<OnPreprocessBuild>b__3_0 (Vuforia.EditorClasses.VuforiaLifeCycleTask) System.Collections.Generic.List`1<Vuforia.EditorClasses.VuforiaLifeCycleTask>:ForEach (System.Action`1<Vuforia.EditorClasses.VuforiaLifeCycleTask>) BuildObserver:OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport)

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)[/quote] 

[quote]Error building Player: ARMv7 is not compatible with the ARCore version included when using the "Include ARCore Library" option in the VuforiaConfiguration. To use an older version of ARCore which supports ARMv7, please include ARCore manually in your project instead.[/quote]

[quote] UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors

  at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ca] in <294703faec74477f8b275446429fba82>:0   at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <294703faec74477f8b275446429fba82>:0

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)[/quote] 

 

However, if i disable the ARCore in Vuforia Configuration, i do not get these errors and can build to my phone no problem. For now, I have no intention of uploading to Google Play, so the 32 bit vs 64 bit thing isnt a worry, except that my phone is old and a 32 bit device and cant use 64.

 

Any idea how to use ARCore in Vuforia Configuration? And why is it a good idea to use it? In the future, I DO want to upload to Google Play, so i know i will need to upgrade my device eventually, but for now its really confusing me. Any help is greatly appreciated! THanks!

Hey there,

 

ARCore provides additional stability for your AR experience. Vuforia Engine utilizes ARCore through Vuforia Fusion: https://library.vuforia.com/environments/vuforia-fusion