Use the 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 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 choose and configure XR provider plug-ins.
Provider plug-ins are packages created to support XR devices and platforms. Use the XR Plug-in Management settings to manage which XR devices and platforms your project supports. You can also configure important settings for these XR provider plug-ins in this section.
To learn about the provider plug-ins Unity provides, refer to Provider plug-ins and XR provider plug-in framework.
The following sections outline how to Enable XR provider plug-ins, Configure provider plug-in settings, and Validate your project. For more information about the settings you can configure, refer to XR Plug-in Management settings.
Before you can enable XR plug-ins, you must install the XR Plug-in Management package. You can install the package directly from 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 window, as follows:
Open the Project Settings window (menu: Edit > Project Settings).
Select XR Plug-in Management from the list of settings areas along the left side of the settings window.
If necessary, click Install XR Plug-in Management.
Depending on the platforms your project targets, you might need to install additional platform modules (for example, Android or iOS) from the Unity Hub. Refer to Add modules in the Unity Hub documentation for instructions.
You must enable each provider plug-in your project targets using XR Plug-in Management.
To enable provider plug-ins:
When you enable a plug-in, XR Plug-in Management installs the associated package.
Notes:
For each enabled plug-in provider, you can configure provider-specific settings as follows:
To learn about settings for a specific provider, refer to the documentation of the individual plug-in. You can access provider documentation from XR packages or with the Documentation link in the Package Manger, as shown in the following image:
Some provider plug-ins and other packages implement project validation checks to help ensure that you’ve set up your project correctly. You can view the status of these checks in the Project Validation section under XR Plug-in Management in the Project Settings window.
If a validation check has a Fix button next to it, you can click the button to automatically fix the issue. Otherwise, you must fix the issue manually. Clicking Edit opens the settings UI to the appropriate section so that you can make any needed changes.
The way you resolve project validation issues depends on the severity of the issue:
To learn more about the validation system rules and status icons, refer to Project validation reference.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.