Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


XR project set up

How to set up a project for an XR game or application.
Read time 1 minuteLast updated 19 days ago

To set up a Unity project for XR:
  • Use the XR Plug-in Management settings to enable and configure the plug-ins needed for the XR devices and platforms supported by the project
  • Add XR support packages, such as AR Foundation and the XR Interaction Toolkit
  • Add the components and GameObjects needed to support XR to your scenes
Refer to the following topics for more information:

Topic

Description

Choose and configure XR provider plug-insUse XR Plug-in Management to choose and configure XR provider plug-ins.
Create an XR projectHow to create a Unity project for XR development.
XR scene setupUnderstand how to set up your scene for XR, including input options, and XR origin.
XR Plug-in Management settingsUnderstand the settings you can configure with XR Plug-in Management.
Develop for Android XR workflowUnderstand the packages and resources you can use to develop for Android XR devices.
Develop for Meta Quest workflowUnderstand the packages and resources you can use to develop for Meta Quest devices.
Note
When you create a Unity project, you can use one of the XR templates available in the Unity Hub. These templates create the project with selected XR packages already added to the project. Even when you start with a template, you must configure the project as outlined in this section.