# Underlay passthrough is not function.

**URL:** <https://forums.unrealengine.com/t/underlay-passthrough-is-not-function/780306>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [February 28, 2023, 8:05am UTC](https://forums.unrealengine.com/t/underlay-passthrough-is-not-function/780306 "2023-02-28T08:05:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![CGMF](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CGMF](https://forums.unrealengine.com/u/CGMF)\
**Post date:** [October 13, 2023, 1:26pm UTC](https://forums.unrealengine.com/t/underlay-passthrough-is-not-function/780306/2 "2023-10-13T13:26:45Z")

</div>

I just bumped into the exact same issue while playing around with the meta quest 3 and UE 5.2 and finally found a solution! Maybe it helps someone:

When the layer placement inside the OculusXRPassthroughLayer was set to Overlay, passthrough was working perfectly, but I didn’t see any 3d objects. When I set it to Underlay, I could see my 3d objects, but the passthrough was gone entirely. Setting it to overlay and reducing the alpha, I was able to see both, semi transparent passthrough and 3d objects. Still not what we want…

Now, all this was with an unreal project that I created from scratch, using the settings recommended here:  
[https://developer.oculus.com/documentation/unreal/unreal-passthrough-overview-gs/](https://developer.oculus.com/documentation/unreal/unreal-passthrough-overview-gs/)  
Testing was done with a packaged project, installed on the quest 3, not with in-editor testing.

I could however get fully opaque passthrough and 3d objects working, when I used the vr template by epic. So in the end, I compared the rendering settings one by one between the projects and what actually did the trick for me was changing the Mobile Antialiasing Method from “None” to "Multisample Anti-Aliasing (MSAA) in the new project. With that, “Underlay” works as expected.

---

_[View the full topic](https://forums.unrealengine.com/t/underlay-passthrough-is-not-function/780306)._
