Version: 2022.1
XR plug-ins
XR architecture

XR support packages

Unity’s XR packages build on 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
framework to add additional application-level features and developer tools.

The XR packages include:

Package Description Package documentation
XR Plug-in Management system Adds 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
for managing the platforms and plug-ins used by a Unity project. See Project setup for information about managing XR plug-ins.
XR Plug-in Management system
AR Foundation Provides cross-platform AR features, such as plane detection, meshing, and object tracking. Required for developing AR applications. AR Foundation
XR Interaction Toolkit Provides interaction components for adding controller-based interaction and manipulation, UI(User Interface) Allows a user to interact with your application. Unity currently supports three UI systems. More info
See in Glossary
interaction, and movement. Supports VR, MR, and AR.
XR Interaction Toolkit
Unity Mars Provides components and tools for adapting AR content to the user’s surroundings. For example, it supplies a standard way of querying the environment to find suitable locations for adding your digital content to the sceneA 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
. Requires a license that includes Unity Mars. See Unity Mars for information about license requirements.
MARS
XR Core Utilities Contains software utilities used by other XR plug-ins and packages. Typically installed as a dependency. XR Core Utilities
XR Legacy Input Helpers Contains software utilities related to XR input. This package is being phased out, but is still installed as a dependency by some XR packages. XR Legacy Input Helpers.

Note: XR plug-ins are also implemented as packages. See XR plug-ins for a list of supported XR plug-ins.

XR plug-ins
XR architecture