Version: 2020.1
Multiplayer Services
Getting started with AR development in Unity

XR

New to XR development? Start here.

XR is an umbrella term that includes the following types of applications:

  • Virtual RealityA system that immerses users in an artificial 3D world of realistic images and sounds, using a headset and motion tracking. More info
    See in Glossary
    (VR): The application completely replaces the world around the user.
  • Mixed Reality (MR): The user’s environment and reality coexist and can interact with each other.
  • Augmented Reality (AR): Content is layered on top of the real world.

Officially supported platforms

Unity works directly with strategic partners on implementation, testing, and customer support for their platforms.

As of 2019.3, Unity officially supports these platforms:

  • ARKit
  • ARCore
  • Microsoft HoloLens
  • Windows Mixed Reality
  • Magic Leap
  • Oculus
  • Gear VR
  • PlayStation VR

AR development in Unity

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
experience, the relevant packages you need to download, and offers related links to additional documentation. We recommend downloading the AR Foundation, XR Management, and XR Interaction Toolkit packages to create your app once and deploy it across ARKit, ARCore, Magic Leap, and/or HoloLensAn XR headset for using apps made for the Windows Mixed Reality platform. More info
See in Glossary
1 & 2 devices.

VR development in Unity

The VR overview page details how to get started creating a VR experience, the relevant packages you need to download, and offers related links to additional documentation. To start, we recommend downloading the XR Management and XR Interaction Toolkit packages.

XR plug-in architecture

Unity 2019.3 and newer versions use 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
architecture to integrate our supported AR/VR platforms, available as packages in the Unity Package Manager. To learn more about the plug-in architecture, see the XR plug-in architecture page.

Unity Package Manager

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
.

For a comprehensive list of packages to download, refer to the AR overview and VR overview pages.

API usage examples

This GitHub repository contains examples of how to use Unity’s AR Foundation APIs.

Additional Unity resources

Did you find this page useful? Please give it a rating:

Multiplayer Services
Getting started with AR development in Unity