Topic locked

Area Target Build Help for AR App

January 5, 2022 - 4:43pm #1

Hi 

I am very New to AR Development and looking for help regarding the final step trying out the area target generator.

I scanned my living room using my Iphone using vuforia's Area Target Generator App. Uploaded the Area Target into Unity3d then added 3d content to the space (within created area target).

My goal is to build to android device phone or tablet. 

When in unity and hit "build and run" I get an error:

"ARMv7 is not compatible with ARCore version included when using "include ARcore Library". Any idea how to fix this? ????

THANKS!

I am using Unity 2021.125f1

Vuforia verion 10.2.5

next to the check box in vuforia config it says ARcore "used version 1.22.0"

Area Target Build Help for AR App

January 6, 2022 - 6:57am #4

No problem. Above the Target Architectures in the project settings you're able to switch the Scripting Backend from Mono to IL2CPP.

I suggest reading about them. Here's some more information:

 

Kind regards,

Patrick Scheper

Technical Community Manager

Area Target Build Help for AR App

January 6, 2022 - 5:59am #3

Thanks for help Patrick, 

 

This might be beyond my skill level. would you know how or where I can change the "scripting backend" in project settings to IL2CPP? 

Under Player Settings and "Target Architectures" I have ARMv7 box checked and see ARM64 but it is greyed out...

 

Really appreciate any more help 

THANKS!

Area Target Build Help for AR App

January 6, 2022 - 2:49am #2

Hey there,

 

The full error says: "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."

You should change to ARM64 to include ARCore in your project instead of ARMv7. This means that you need to use the IL2CPP scripting backend in the project settings.

This relates to Google actively removing, without notice, support for 32-bit-only apps on 64-bit Android devices. When you're running an app that is 32-bit-only you will be met with a black screen. That's why you need to change to ARM64, otherwise you'd be possibly met with a black screen. You can read more about the push here: https://developers.google.com/ar/64bit

 

Kind regards,

Patrick Scheper

Technical Community Manager

Topic locked