Version: 2022.1
XR architecture
Choose XR provider plug-ins

XR Project set up

To set up a Unity project for XR:

  • Use the XR Plugin Management settings to enable and configure the plug-insA set of code created outside of Unity that creates functionality in Unity. There are two kinds of plug-ins you can use in Unity: Managed plug-ins (managed .NET assemblies created with tools like Visual Studio) and Native plug-ins (platform-specific native code libraries). More info
    See in Glossary
    needed for the XR devices and platforms supported by the project
  • Add XR support packages, such as AR Foundation and the XR Interaction Toolkit
  • Set up your ScenesA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
    See in Glossary
    to support XR

See the following topics for more information:

Topic Description
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.

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 following the procedures outlined in this section.

XR architecture
Choose XR provider plug-ins