Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


XR scene setup

Understand how to set up your scene for XR, including input options, and XR origin.
Read time 1 minuteLast updated 19 days ago

Unlike a standard Unity scene, an XR scene requires an XR Origin to transform physical spatial tracking data into the virtual world. This setup ensures the scene camera aligns with the user's head-mounted or hand-held device, and maps real-world controller movements to GameObjects in the scene.

Topic

Description

Set up an XR sceneAdd an XR Origin to provide a frame of reference for spatial tracking data.
XR input optionsHandle input using the XR Interaction Toolkit, OpenXR, or other options.
XR OriginTransform XR tracking data into the scene world space.

Additional resources