Enable layer emulation in a standalone build
Learn how to enable layer emulation in a standalone build.
To enable layer emulation in a standalone Win, Mac, Linux build:
- Navigate to the
Assets/CompositionLayers/UserSettings/Resourcesfolder in your Project window. (Unity creates this folder automatically when you import the XR Composition Layers package.) - Select the
CompositionLayersRuntimeSettingsasset to view its properties in the Inspector. - Enable the Emulation in Standalone option.
Tip
You must also add the Uber shader to the Always Include Shaders list to make sure that this shader, which is needed to render emulated layers, is included in your standalone builds.