Set up a Composition Layers project
Understand the requirements for Composition Layers and create a project that uses Composition Layers.
Prerequisites
To use XR Composition Layers, the project must meet the following requirements:
- Uses a compatible version of the Unity Editor.
- Configured for XR as described in XR Project setup.
- Uses a compatible provider plug-in package.
- Uses the built-in rendering pipeline, the Universal Render Pipeline (URP), or the High Definition Render Pipeline (HDRP).
Important
In Unity 6.5 and newer, the Built-In Render Pipeline is deprecated and will be made obsolete in a future release. For more information, refer to Migrating from the Built-In Render Pipeline to URP and Render pipeline feature comparison.
Set up your project
To set up a project to use Composition Layers:
- Create a Unity project that satisfies the Prerequisites.
- Install XR Composition Layers and any additional, required packages.
- Adjust the project's settings.