Version: 2020.3
Language : English
XR architecture
Choose XR provider plug-ins

XR Project set up

To set up a Unity project for XRAn umbrella term encompassing Virtual Reality (VR), Augmented Reality (AR) and Mixed Reality (MR) applications. Devices supporting these forms of interactive applications can be referred to as XR devices. More info
See in Glossary
:

  • Use the XR Plug-inA 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
    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 ARAugmented Reality More info
    See in Glossary
    Foundation and the XR Interaction Toolkit
  • Add the components and GameObjectsThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
    See in Glossary
    to 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
    needed 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.
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 SettingsA broad collection of settings which allow you to configure how Physics, Audio, Networking, Graphics, Input and many other areas of your project behave. More info
See in Glossary
.

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