# Unity 6 Passthrough

**URL:** <https://community.stereolabs.com/t/unity-6-passthrough/11828>\
**Category:** Unity\
**Created:** [October 30, 2026, 5:08pm UTC](https://community.stereolabs.com/t/unity-6-passthrough/11828 "2026-10-30T17:08:36Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![smietanr](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/b9e5f3/32.png) [@smietanr](https://community.stereolabs.com/u/smietanr)\
**Post date:** [October 30, 2026, 5:08pm UTC](https://community.stereolabs.com/t/unity-6-passthrough/11828/1 "2026-10-30T17:08:36Z")

</div>

Hi, I’m working on implementing a passthrough window into a VR application I am developing. However, in the screenshot that I am attaching, you can see the cube behind the passthrough which is not my intention. I want to implement the passthrough OVER the digital objects and not have them visible if they are behind it. I tried enabling/disabling various options in ZED Manager script, including turning the Depth Occlusion setting on or off under AR Passthrough Settings but that didn’t seem to work.

 ![Screenshot 2026-10-30 130356](https://community.stereolabs.com/uploads/default/original/2X/1/1bbefa56ea6ea86ab2bb1cfa6c29ee300039dede.jpeg)

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [November 2, 2026, 10:04am UTC](https://community.stereolabs.com/t/unity-6-passthrough/11828/2 "2026-11-02T10:04:04Z")

</div>

Hi @smietanr  
can you please record a video showing this problem and point the camera to something other than your screen?

---

<div class="post-metadata">

**Author:** ![smietanr](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/b9e5f3/32.png) [@smietanr](https://community.stereolabs.com/u/smietanr)\
**Post date:** [November 2, 2026, 2:49pm UTC](https://community.stereolabs.com/t/unity-6-passthrough/11828/3 "2026-11-02T14:49:51Z")

</div>

This good enough?

---

<div class="post-metadata">

**Author:** ![smietanr](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/b9e5f3/32.png) [@smietanr](https://community.stereolabs.com/u/smietanr)\
**Post date:** [November 2, 2026, 5:34pm UTC](https://community.stereolabs.com/t/unity-6-passthrough/11828/4 "2026-11-02T17:34:02Z")

</div>

The object is clipping when I put my hand in front of it.

The main idea behind the application that I’ll be developing would be to create a passthrough window to make the physical flight yoke visible when you’re in VR.

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [November 3, 2026, 10:18am UTC](https://community.stereolabs.com/t/unity-6-passthrough/11828/5 "2026-11-03T10:18:16Z")

</div>

it’s clearly a depth estimation issue. What depth mode are you using ?

you can also try to change the confidence, it might help

![image](https://community.stereolabs.com/uploads/default/original/2X/8/8312e04a97afd1dcbf49d61357a4ac31b7a1d3a1.png)

---

<div class="post-metadata">

**Author:** ![smietanr](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/b9e5f3/32.png) [@smietanr](https://community.stereolabs.com/u/smietanr)\
**Post date:** [November 3, 2026, 2:53pm UTC](https://community.stereolabs.com/t/unity-6-passthrough/11828/6 "2026-11-03T14:53:45Z")

</div>

![image](https://community.stereolabs.com/uploads/default/original/2X/6/681a0ea61db4d147954b08c4a4d5d570da597388.png)These are my settings.

Whenever I reduce any of those values, the cube becomes more visible.

And I’m using the Ultra Depth Mode

---

<div class="post-metadata">

**Author:** ![smietanr](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/b9e5f3/32.png) [@smietanr](https://community.stereolabs.com/u/smietanr)\
**Post date:** [November 3, 2026, 3:42pm UTC](https://community.stereolabs.com/t/unity-6-passthrough/11828/7 "2026-11-03T15:42:12Z")

</div>

Bit of an update. Cranked up the confidence threshold to 100 and fiddled around with different depth modes. I ended up using Neural.

The cube is now no longer visible except when I outstretch my hand forward or whenever I point the camera at brighter surfaces.

---

<div class="post-metadata">

**Author:** ![smietanr](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/b9e5f3/32.png) [@smietanr](https://community.stereolabs.com/u/smietanr)\
**Post date:** [November 9, 2026, 6:41pm UTC](https://community.stereolabs.com/t/unity-6-passthrough/11828/8 "2026-11-09T18:41:22Z")

</div>

See above.  
Also, whenever I tried to use Zed\_Rig\_Stereo instead of Mono, my VR view is pitch black for some reason. I tried it with Multi-Pass and Single-Pass.

---

<div class="post-metadata">

**Author:** ![rachelwilson](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/r/8edcca/32.png) [@rachelwilson](https://community.stereolabs.com/u/rachelwilson)\
**Post date:** [November 11, 2026, 12:00pm UTC](https://community.stereolabs.com/t/unity-6-passthrough/11828/9 "2026-11-11T12:00:43Z")

</div>

hmm the pitch black stereo view sounds like a different problem from the clipping, at least mono gives you something. did multi-pass vs single-pass change anything there?

---

<div class="post-metadata">

**Author:** ![smietanr](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/b9e5f3/32.png) [@smietanr](https://community.stereolabs.com/u/smietanr)\
**Post date:** [November 12, 2026, 5:29pm UTC](https://community.stereolabs.com/t/unity-6-passthrough/11828/10 "2026-11-12T17:29:08Z")

</div>

@Myzhar @BenjaminV

I managed to get the passthrough to work, but I am now having a different issue. I’m attaching the screenshots below. The passthrough is working quite nicely when I am in the cockpit. But I want to make it so that the passthrough doesn’t render when there’s nothing behind it (i.e. the skybox) for immersion purposes. I was wondering if there’s a setting or something that could be enabled that could make it work? I tried to play around with Depth Range/Confidence Threshold, and also tried tweaking the max depth range in the Mat\_ZED\_Forward\_Lightning\_URP but nothing seems to work. (Ignore the floating hands. That’s just a leftover from an obsolete VR player that we are yet to remove)

 ![image](https://community.stereolabs.com/uploads/default/original/2X/2/22ca9ffa306933de39c50c93f5d887c5a7b23fb2.jpeg)

 ![image](https://community.stereolabs.com/uploads/default/original/2X/c/ca7d339c3bef5512419ba28ac23198f4d72dbae1.jpeg)

 ![image](https://community.stereolabs.com/uploads/default/original/2X/d/d49780bf2c4e3a6412be9db264690e015a89f7bf.jpeg)

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [November 16, 2026, 8:48am UTC](https://community.stereolabs.com/t/unity-6-passthrough/11828/11 "2026-11-16T08:48:09Z")

</div>

Hi,

I think you can :

- Lower the “Max Depth Range”
- Still, in the Advanced Settings, untick “Grey Out Skybox on Start”
- And, On the Cameras attached to the ZED\_Rig Prefab, set the Clear Flag to “Skybox”

---

<div class="post-metadata">

**Author:** ![smietanr](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/b9e5f3/32.png) [@smietanr](https://community.stereolabs.com/u/smietanr)\
**Post date:** [November 16, 2026, 2:59pm UTC](https://community.stereolabs.com/t/unity-6-passthrough/11828/12 "2026-11-16T14:59:37Z")

</div>

Okay. I set the Max Depth Range to 0.5 and unticked the setting that you mentioned.

I’m in URP so I don’t have that “Clear Flag” option, but it seems to be working fine. Thank you!
