Version: 2022.3
XR architecture
Choose XR provider plug-ins

XR Project set up

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 to your Scenes needed to support XR

See the following topics for more information:

Topic 描述
Choose XR provider plug-ins How to manage XR plug-ins and settings.
Create an XR project How to create a Unity project for XR development.
Set up an XR scene How to set up a scene for XR.
XR input options Describes the options for implementing user input in an XR project.
XR Origin Describes the available XR Origin configurations.
XR Plug-in Management settings Describes the settings and options provided by the XR Plug-in Management section of the Project Settings.

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.

XR architecture
Choose XR provider plug-ins