# Passthrough Setup

Ensure MetaXR plugin is enabled and **ALL RULES** are applied (should be a green dot on the icon in the editor). The plugin should be installed on all workstation computers. More information can be found [here](https://developers.meta.com/horizon/downloads/package/unreal-engine-5-integration/78.0).

Create a new **EMPTY Level**.

Create a simple [player pawn](https://scil-wiki.su.edu/books/unreal-engine/page/xr-rig-setup "XR Rig Setup") and add to the the map.

Add a **SkyLight** component, leave as **Stationary**. Choose **Source Type**: **SLS Specified Cubemap**. Under **Cubemap**, choose **DaylightAmbientCubeMap** (or any that you prefer). If you don't see any in the list, click the **gear icon** with the popup window open and choose **Show Engine Content**.

Next, enable Passthrough by going to **Project Settings -&gt; Plugins (MetaXR) -&gt; Passthrough Enabled**

[![Screenshot 2025-10-24 154724.png](https://scil-wiki.su.edu/uploads/images/gallery/2025-10/scaled-1680-/screenshot-2025-10-24-154724.png)](https://scil-wiki.su.edu/uploads/images/gallery/2025-10/screenshot-2025-10-24-154724.png)

In your pawn, under **Event BeginPlay**, right-click and search for **Passthrough Subsystem** from the blue pin, drag off and choose **Initialize Persistent Passthrough** and connect the execution pins to this node. Finally, select that node and in the **Details** panel look for **Layer Parameters -&gt; Shape -&gt; Layer Placement** and choose **Underlay** (**ReconstructedPassthroughLayer** should be default).

[![Screenshot 2025-10-24 154935.png](https://scil-wiki.su.edu/uploads/images/gallery/2025-10/scaled-1680-/screenshot-2025-10-24-154935.png)](https://scil-wiki.su.edu/uploads/images/gallery/2025-10/screenshot-2025-10-24-154935.png)

You can now build your project for Android and deploy to test!

### Where to go from here?

There is lots of documentation with additional features such as spatial anchors and more. Check out the documentation here:

[https://developers.meta.com/horizon/documentation/unreal/unreal-passthrough-overview](https://developers.meta.com/horizon/documentation/unreal/unreal-passthrough-overview)