Project settings
To use AR features in Unity, you need to change your project settings as described below. If you used the AR Mobile template when creating the project, you can skip the steps below.
XR Plug-in Management settings
Change the following in Edit > Project Settings > XR Plug-in Management.
- Check ARCore under Android settings > Plug-in Provider
- Check ARKit under iOS settings > Plug-in Provider
Android build settings
Change the following in Edit > Project Settings > Player > Android Settings > Other Settings.
- Under Rendering > Graphics APIs, enable OpenGLES3 only
- Set Identification > Minimum API Level to API Level 25 or higher
- Set Configuration > Scripting Backend to IL2CPP
- Under Configuration > Target Architectures, check ARM64 only
- Under Configuration > Android Application Configuration > Application Entry Point, check Activity only (Unity 6 or later)
danger
If GameActivity is checked as the Application Entry Point, the app crashes on launch.
Project Validation
This feature checks whether VLSDK has been installed correctly and is ready to use. You can run it from ARC eye > VLSDK > Project Validation. When the Fix button is enabled, clicking it fixes the problem automatically. When the Edit button is enabled, you need to fix the issue yourself.
