Player Configuration
This document introduces the Player configuration options that need attention when packaging an application using the EasyAR Sense Unity Plugin in Unity.
Configuration Instructions for Different Platforms
When packaging in Unity, you need to check and confirm the following configurations.
In the Unity menu, go to File -> Build Settings-> Player Settings in sequence, 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 the
Package Nameof the Android application. Note that thePackage Namemust be consistent with the one filled in when creating the License Key.
Minimum API Level The supported
Minimum API levelof EasyAR is related to the version used. When using theFullvariant,Android API Level 24or above is required; when using other variants, EasyAR Sense requiresAndroid API Level 21or above.
Tip
The
Fullvariant is usually used in the Mega Go edge-side positioning function and the 5DoF camera function. When using the Mega cloud positioning service, 5Dof camera support is also enabled by default.The EasyAR Sense variant used by the target platform can be viewed in the Lib Variants option in the Unity menu
Project Settings > EasyAR > Sense.Target Architecture If you need to use Google ARCore, or in other cases where ARM64 support needs to be compiled, you need to use
IL2CPPfor compilation and selectARM64 support. There is no need to configure it if ARM64 architecture support is not required.
Special Configuration for Video Recording Function
If you want to use the video recording function, you need to set
Graphics APItoOpenGLES3orOpenGLES2, and uncheckMultithreaded Rendering. In addition, you also need to setLib Variants > AndroidtoVideoRecordingin the EasyAR configuration.
Common Issues
The following are some common errors and solutions related to Player configuration.
Error Report of Abnormal License Key
If the License Key is abnormal (for example, the
Package Namedoes not match), an error message similar tois not a valid EasyAR Sense license key or it does not match package namewill appear when packaging the application. At this time, if you choose to continue packaging, the packaged application will not work properly. Please carefully check and fix the problem according to the window prompt before continuing to package.Turn off License Check during Packaging
In some special cases, if you manually initialize using the EasyAR interface and do not use the
License Keyin theSettingsfile, you can chooseContinue and don't warn me again, or turn off theEasyAR Sense License > Verify When Buildoption in the EasyAR configuration, which will turn off the check during packaging.Support for Android Devices with Non-ARM Architecture
EasyAR Sense does not directly support Android systems with x86 and x86-64 architectures. However, the chips of devices with the x86 architecture can generally be compatible with ARM programs. Therefore, you need to configure to deselect the x86 architecture so that it can be used normally on some x86 devices.





