Forum Discussion

Stahk's avatar
Stahk
Honored Guest
22 days ago

Passthrough on Windows build

Hello everyone,

I'm working on adapting my Unity 2022 PCVR application to support passthrough on compatible Meta devices using the Unity OpenXR Meta plugin.

I got the passthrough working in the Editor, but it appears as a black screen in the final build.

I have successfully enabled passthrough in other PCVR applications by using the Meta SDK directly instead .

Am I doing something wrong with the OpenXR setup, or is there currently a compatibility issue on PCVR builds using the Unity OpenXR Meta plugin?

Any insights or troubleshooting steps would be greatly appreciated!

Thanks!

1 Reply

  • Hey there Stahk!

    Sorry to hear you're having trouble getting passthrough to work in your final build, I get how that could be frustrating. As far as troubleshooting goes, I'm not sure if you've seen our documentation yet but we have a guide that goes over the setup process for passthrough that I can link below. If you're read through that and you're still having issues, we can explore some other areas where the error might be occurring from. 

    First, I'd suggest you check your OpenXR setup and make sure you have the correct plugins (XR_FB_passthrough and XR_FB_triangle_mesh) and that they're enabled. You could also try checking your environmentBlendMode, and ensure it's set to XR_ENVIRONMENT_BLEND_MODE_OPAQUE (As long as the passthrough layer is submitted before the app’s projection layer in the composition layers array). Lastly, I'd suggest you make sure to enable “Passthrough over Link” in the Oculus PC app settings.


    If you tried all of that and you're still running into issues, please feel free to let me know and we can investigate further!

    Implement Passthrough

    Passthrough basic tutorial

    -G

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions