Hello! Welcome to the start of our journey into designing and building a spatial application. Over the next few weeks, we'll move from initial setup to implementing a functional VR productivity app for the Meta Quest platform. Your background in both computer science and design puts you in a fantastic position to bridge the technical and user-experience aspects of this project.
This first module focuses on laying the essential groundwork. Before we can get to the exciting parts like interaction design in Spline or C# scripting, we need a properly configured Unity project. Today's lesson tackles the very first step: setting up a new Unity project and configuring it to target Meta Quest devices, which run on the Android operating system.
1. Unity Installation and Required Modules
First, we need to ensure your Unity installation is ready for Android development. Since Meta Quest is an Android-based device, Unity needs specific modules to build and package your application correctly. This includes the Android Build Support, the Java Development Kit (OpenJDK), and the Android SDK & NDK tools.
The official Meta documentation provides a clear, step-by-step guide for this. We'll be using Unity 2022.3 LTS or a newer version for this course.
Set up Unity for VR development - Meta for Developers
This guide from Meta for Developers outlines the necessary components for Quest development. We'll start by ensuring your Unity Editor installation includes the correct modules.
In the document, please read the section Add the Android Build Support module. Follow the instructions to open Unity Hub and add the "Android Build Support," "OpenJDK," and "Android SDK & NDK Tools" to your Unity Editor installation. If you've done this previously, you can simply verify they are installed.
2. Creating Your Unity Project
With the editor correctly configured, the next step is to create the project itself. For modern VR development in Unity, the standard is to use a project based on the Universal Render Pipeline (URP). URP provides an excellent balance of performance and graphical fidelity, which is critical for maintaining a high and stable frame rate in VR.
Set up Unity for VR development - Meta for Developers
Let's continue with the same documentation to create our new project.
Now, follow the instructions in the section titled Create a Unity project. When selecting a template, choose 3D (URP). Give your project a descriptive name, like "SpatialProductivityApp," and save it in a convenient location.
3. Setting the Build Target
Now that you have a project, you need to tell Unity that you intend to build it for a Meta Quest device. This process, called "switching the build target," configures Unity to compile your code and assets into the format required by the target platform's operating system—in this case, Android.
In recent versions of Unity, this is managed through Build Profiles. You will set the active build profile to one configured for Android-based XR.

The process is straightforward. We'll consult the Meta documentation one more time for the precise steps.
Set up Unity for VR development - Meta for Developers
This final reading from the setup guide covers how to switch your project's build target.
Please read the subsection Set the build platform. Open the Build Profiles window (File > Build Profiles) and set your target platform to Android (or Meta Quest / Android XR if available in your Unity version). Unity will then re-import your project's assets, which may take a few minutes.
For a visual walkthrough of this process, the following video demonstrates switching the build platform.
Unity VR XR Development Meta Quest 2023, Getting Started PC & Mac, Open XR, XR Toolkit
This clip from a tutorial by Rob Shocks on YouTube shows the classic Build Settings window, but the principle is identical for Build Profiles.
Watch the segment from File > Build Settings to see how the platform is switched to Android.
4. Configuring the XR Plug-in Management
The final piece of the puzzle for today is configuring Unity to communicate with VR hardware. This is handled by a system called XR Plug-in Management. It acts as a high-level interface that allows Unity to work with different VR platforms through specific "plug-ins."
For maximum compatibility and access to the latest features, we will use OpenXR. OpenXR is an open, royalty-free standard that provides a common API for XR applications. By using it, we ensure our project is built on a modern, forward-looking foundation.

Let's enable OpenXR for our project.
Set up Unity for VR development - Meta for Developers
This part of the Meta documentation explains what XR provider plugins are and guides you through installing the recommended one, OpenXR.
First, read the brief introduction under Install an XR provider plugin to understand why we are choosing OpenXR. Then, carefully follow the steps listed in Option A: Install the Unity OpenXR Plugin. The key actions are to install the XR Plug-in Management package and then check the OpenXR box under the Android tab.
This configuration can sometimes feel a bit abstract. The following video provides a clear, visual demonstration of navigating the Project Settings and enabling OpenXR.
Unity VR XR Development Meta Quest 2023, Getting Started PC & Mac, Open XR, XR Toolkit
This longer clip from the same video shows the entire process of installing XR Plugin Management and configuring OpenXR for both desktop and Android.
You can watch the segment from install the xor plugin management for a complete walkthrough. Pay close attention to the part where the presenter enables OpenXR for the Android tab specifically around go over to Android.
Conclusion
Excellent work. You've now successfully laid the foundational layer for our project. While these configuration steps can seem tedious, getting them right from the start prevents significant headaches down the line. You've created a clean project, set it to build for the correct Android target, and established the OpenXR pipeline that will handle communication with the VR hardware.
Key Takeaways:
- Meta Quest development requires the Android Build Support module in your Unity installation.
- Projects should be created using the 3D (URP) template for optimal performance and visuals in VR.
- The project's build target must be switched to Android to ensure it can run on a Quest headset.
- XR Plug-in Management and the OpenXR plug-in are essential for allowing Unity to interface with VR hardware.
In our next lesson, we'll build directly on this foundation. With the project configured to talk to a VR device, we'll proceed to install and configure the Meta XR All-in-One SDK, which provides the specific tools, prefabs, and scripts needed to implement Meta Quest features like controller tracking and interaction.