Passthrough with Meta Quest and OpenXR

Hi all!

Been digging around quite a bit trying to understand the current state of Passthrough on Meta Quest devices (2,3,pro) with regards to OpenXR

I’ve installed OpenXR as the default XR plugin and installed the additional Meta Quest feature set mentioned here:
https://docs.unity3d.com/Packages/com.unity.xr.openxr@1.8/manual/features/metaquest.html

Most of the resources I have found seem to be outdated.

I’ve enabled all relevant features and have no validation errors.9743203--1394029--upload_2024-4-1_10-40-7.png

On my main camera I have these scripts. AR Camera Manager implies that it being enabled should also enable passthrough. My camera has a solid color background, with 0 alpha.

However, when testing with Quest Pro, the background is simply black. No passthrough.

Is it indeed possible to do passthrough on Quest without the OVRCamera scripts? I guess this is what I am most unclear on.

I am using URP if that plays a role.

Thanks for the help!

OK So the Mixed Reality template here: Explore cross-platform mixed reality development on Meta Quest 3

DOES work with passthrough. Now just need to figure out which setting is breaking it in my project…

OK. Figured out it was HDR being enabled that broke passthrough. This isn’t mentioned anywhere in the docs that I have seen!

This post has more discussion in case someone ends up here.

5 Likes

Thank you! Been running around various project settings for about a couple of hours here trying to find this! It happened when I changed my Project Settings > Quality for Android to anything but Low. Low uses the Standalone Performant Preset. Med and High use Standalone Balanced Preset. Several differences between them, including enabling HDR in the Balanced preset. I’m assuming that the HDR setting is what broke it when I made that change. For now, I’ll just leave the Low for Quality setting in Android.

EDIT: The details about HDR, Vulkan, and all of proper settings needed for a new project in Unity using OpenXR and the Meta headsets are here: Project settings | Unity OpenXR Meta | 2.0.1 You’ll see they clearly indicate that HDR should be disabled

does NOT work with Passthrough via Play Button in Unity. Doesn’t support passthrough over Meta Quest Link. You stating it does work is missing this very important point. I’m looking for a solution where I can enable passthrough over Link and iterate on the development.

Same here. I’d like to be able to use Passthrough over Meta Quest Link. It is certainly technologically possible; Meta Quest Link does support Passthrough. But it seems like Unity does not provide support with it “out of the box” with the typical OpenXR rig setup. There might be ways to do it by using OVR. But I’d rather stick to a cross-platform compatible setup. Curious if anyone else finds a solution!

1 Like