Testing AR experiences directly in Unity
As of AR Foundation 5.0, developers can conveniently test AR scenes right in the Unity Editor using the XR Simulation feature, without the constant need to deploy on mobile devices. By the time you read this book, this feature might already be pre-installed. Let’s quickly check that by following these steps:
- Navigate to Edit | Project Settings.
- Choose XR Plug-in Management.
- Look for the XR Simulation option under Plug-in Providers and enable it.
If you don’t see the XR Simulation option, you’ll need to manually install AR Foundation 5.0 or a newer version. The next section explains how to do this.
Installing AR Foundation 5.0 or later versions and related packages
When you edit your project manifest, you control which package versions Unity loads into your project. There are two ways to edit your project manifest: add a package by name in Package Manager, or manually edit the project manifest...