ARCore Configuration¶
When Do I Need ARCore¶
ARCore offers motion tracking capability on some Android devices. Please read Motion Tracking and EasyAR Features for the relationship between EasyAR and motion tracking, and is ARCore needed and when.
Choosing ARCore SDK¶
You can change ARCore SDK
option according to how you use ARCore.
AR Foundation Or Optional
: Either ARCore SDK distributed with EasyAR or AR Foundation will be included in the build according to the settings of ARCore XR Plugin. This option is suggested for most cases, it will handleAR Foundation
automatically.Optional
: ARCore features are activated only on ARCore supported devices that have Google Play Services for AR installed.Required
: Your app will require an ARCore Supported Device that has Google Play Services for AR installed on it.External
: Use this option if you are usingAR Foundation
or other ARCore SDK distributions, so that ARCore SDK distributed with EasyAR will not be used. You can also use this option to fully exclude ARCore SDK to be included in you app.

You can read Google’s instructions for more details about Optional
and Required
and configurations required for your app to submit to Play Store.
Important
If you need to use ARCore on all Xiaomi and Redmi phones that support ARCore, use AR Foundation. Due to bugs in the implementation of Xiaomi manufacturers, the ARCore wrapper of EasyAR has disabled some Xiaomi phones, including the Mi 9, Mi 10, Redmi K20, Redmi K30, Redmi K40 and other series (the list here is incomplete). On these phones, ARCore will not be used by default, and EasyAR motion tracking will be used on phones that support EasyAR motion tracking.
Use ARCore SDK distributed in the Plugin¶
ARCore libraries and settings are already inside EasyAR Sense Unity Plugin. It is still required to install Google Play Services for AR on the device though.
EasyAR’s ARCore wrapper using ARCore SDK distributed with EasyAR does NOT require GLES3, in opposite to ARCore XR Plugin
used by AR Foundation
. But we are not exporting rich features from ARCore
. If you desire to use features like plane detection when using ARCore, it is still suggested to use AR Foundation
.
Target Architecture¶
ARCore will not work correctly on arm64 devices with armv7 only build according to Google’s policy. If you do not select ARM64, a warning message will pop up in the build process,

Change project settings to fix this, use IL2CPP for build and select ARM64.

If you really need to disable the warning, you can choose Continue and don't warn me again
or turn off Verify 32bit Only AR Core When Build
option, which will turn off checks in the build process. Tuning off this check will only close warnings in the build process, but errors may happen in runtime on some devices, including crash or black screen or others.

Use ARCore SDK distributed in AR Foundation¶
If you want to use ARCore SDK from AR Foundation, you can reference Google’s instructions for configuration. ARCore SDK
option require to be AR Foundation Or Optional
or External
in this case.
Use other ARCore SDK¶
If you want to use ARCore SDK from other plugins or projects, you need to read their instructions for configuration. ARCore SDK
option require to be External
in this case.