XR is an umbrella term that includes the following types of applications:
Unity works closely with strategic partners to make sure that creators have all the support they need when developing content for Unity’s supported platforms. This involves deep platform integration, Unity engine improvements, and XR tech stack optimizations for each platform.
As of 2019.3, Unity officially supports these platforms for XR:
Note: Valve are using Unity’s XR SDK to develop their OpenVR Unity XR plugin for 2019.3. They will share more information on where to access it once it’s available.
Unity has developed a new 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 called XR SDK that enables XR providers to integrate with the Unity engine and make full use of its features. This plugin-based approach improves Unity’s ability to make quick bug fixes, distribute SDK updates from platform partners, and to support new XR devices and runtimes without having to modify the core engine. To learn more about the XR plug-in framework and how to upgrade to the new XR plug-ins, see the XR plug-in framework page.
In 2019.3, Unity transitioned to a new plug-in framework to support XR platform integrations. As a result, built-in XR platform integrations have been marked as deprecated. These integrations are still available for use in 2019.3 and will remain functional in 2019.4. Unity will not be developing any new features for these integrations, but will continue to offer essential bug fixes.
The built-in integrations and their corresponding documentation are listed below:
Note: (1) The Vuforia Engine built-in packageBuilt-in packages allow users to toggle Unity features on or off through the Package Manager. Enabling or disabling a package reduces the run-time build size. For example, most Projects don’t use the legacy Particle System. By removing the abstracted package of this feature, the related code and resources are not part of the final built product. Typically, these packages contain only the package manifest and are bundled with Unity (rather than available on the package registry).
See in Glossary (Vuforia Engine AR) will no longer be natively distributed and directly supported by Unity as of 2019.3. You will continue to be able to download new versions of Vuforia Engine for Unity via the Vuforia Developer Portal.
The AR overview page details how to get started with creating an ARAugmented Reality (AR) uses computer graphics or video composited on top of a live video feed to augment the view and create interaction with real and virtual objects.
See in Glossary application, lists the packages you need to download, and offers related links to additional documentation. Unity recommends downloading the AR Foundation and XR Management packages to create your application for Unity’s supported handheld and wearable AR devices.
The VR overview page details how to get started creating a VR application, lists the packages you need to download, and offers related links to additional documentation. To start, Unity recommends downloading the XR Management and XR Interaction Toolkit (Preview) packages to create your application for Unity’s supported VR devices.
Most of Unity’s XR functionality is available in packagesPackages are collections of Assets to be shared and re-used in Unity. There are two types of packages supported in Unity: Asset packages and packages available through the Unity Package Manager (UPM). Packages available through the Unity Package Manager are a fundamental method of delivering Unity functionality. More info
See in Glossary, which you install through the Package Manager (from Unity’s main menu, go to Window > Package Manager). The Package Manager window displays detailed information about each package.
Note: To view preview packages, click the Advanced drop-down menu in the Package Manager window, and select Show Preview PackagesA preview package is in development and not yet ready for production. A package in preview might be at any stage of development, from the initial stages to near completion.
See in Glossary.
Thie AR Foundation Samples GitHub repository contains examples of how to use Unity’s AR Foundation APIs.