Get started with targeting your ARCore Unity apps to Android.
This guide shows you how to set up your development environment and try out an ARCore sample app.
An ARCore supported phone
A USB cable to connect your phone to your development machine
Android SDK 7.0 (API Level 24) or later, installed using the SDK Manager in Android Studio
Get the ARCore SDK for Unity
- Download ARCore SDK for Unity 1.4.0 or later.
The SDK is downloaded as file called
Create a new project and import the SDK
Open Unity and create a new 3D project.
Select Assets > Import Package > Custom Package.
arcore-unity-sdk-v1.4.0.unitypackageUnity Package that you downloaded above.
In the Importing Package dialog, make sure that all package options are selected and click Import.
Accept any API upgrades if prompted.
Open the sample scene
- In the Unity Project window, you can find the HelloAR sample in:
Assets > GoogleARCore > Examples > HelloAR > Scenes.
Configure build settings
- Go to File > Build Settings to open the Build Settings window.
- Select Android and click Switch Platform.
- In the Build Settings window, click Player Settings.
- In the Inspector window, configure the following player settings:
Setting Value Player Settings > Other Settings > Multithreaded Rendering Disable Player Settings > Other Settings > Package Name Create a unique app ID using a Java package name format.
For example, use
Player Settings > Other Settings > Minimum API Level Android 7.0 or higher Player Settings > Other Settings > Target API Level Android 7.0 or higher Player Settings > XR Settings > ARCore Supported Enable
Build and run the sample app
Enable developer options and USB debugging on your phone.
Connect your phone to your development machine.
In the Unity Build Settings window, click Build and Run.
Unity builds your project into an Android APK, installs it on your phone, and launches it.
Move your phone around until ARCore starts detecting and visualizing planes.
Tap a plane to put an Andy Android object on it.
- Step through the HelloAR code in the HelloAR Sample App Tour.
- Learn how to Enable ARCore in your app.
- Use Augmented Images to build apps that can respond to 2D images, such as posters or logos, in the user's environment.
- Target your apps to Android or iOS and use Cloud Anchors to create AR experiences that Android and iOS users can share.