Player configuration
This article introduces the Player configuration options that need to be noted when using EasyAR Sense Unity Plugin to package applications in Unity.
Configuration instructions for different platforms
When building in Unity, you need to check and confirm the following configurations.
Go to the Unity menu File -> Build Settings-> Player Settings, click the Android icon to bring up the corresponding settings for the Android platform.

Normally, you need to set the following options.
Package name
Set thePackage Namefor the Android app. Note that thePackage Namemust match the one filled in when creating the License Key.
API level
TheAPI levelsupported by EasyAR depends on the version used. When using theFullvariant,Android API Level 24or higher is required; when using other variants, EasyAR Sense requiresAndroid API Level 21or higher.
Target architecture
If you need to use Google ARCore or other cases that require ARM64 support, you need to compile withIL2CPPand selectARM64 support. No configuration is required if ARM64 architecture support is not needed.
Special configuration for video recording
If you want to use the video recording feature, set
Graphics APItoOpenGLES3orOpenGLES2, and uncheckMultithreaded Rendering. Additionally, you need to setLib Variants > AndroidtoVideoRecordingin the EasyAR configuration.
Common issues
Here are some common errors and solutions related to Player configuration.
License key error
If the license key is invalid (e.g.,
Package Namemismatch), an error similar tois not a valid EasyAR Sense license key or it does not match package namewill appear when building the application. If you choose to continue building, the resulting application will not function properly. Please carefully check and fix the issue based on the prompt before proceeding.Disabling license verification during build
In some special cases, if you manually initialize EasyAR's interface and do not use the
License Keyin theSettingsfile, you can selectContinue and don't warn me againor disable theEasyAR Sense License > Verify When Buildoption in the EasyAR configuration. This will turn off the verification during the build process.Support for non-ARM architecture Android devices
EasyAR Sense does not directly support x86 and x86-64 architectures on Android systems. However, x86 devices generally support ARM-compatible programs. Therefore, you need to configure the build to exclude the x86 architecture, which allows the application to run normally on some x86 devices.





