With most Unity development, we could just run our scene in the editor for testing. Unfortunately, when developing ARCore applications, we need to deploy the app to a device for testing. Fortunately, the project we are opening should already be configured for the most part. So, let's get started by following the steps in the next exercise:
- Open up the Unity editor to the sample ARCore project and open the
HelloAR
scene. If you left Unity open from the last exercise, just ignore this step. - Connect your device via USB.
- From the menu, select
File
|Build Settings.
Confirm that the settings match the following dialog:
Build settings dialog
- Confirm that the
HelloAR
scene is added to the build. If the scene is missing, click on theAdd Open Scenes
button to add it. - Click on
Build and Run
. Be patient, first-time builds can take a while. - After the app gets pushed to the device, feel free to test it, as you did with the Android version.
Great! Now we have a Unity version...