Kaworu Posted October 7, 2024 Posted October 7, 2024 Hi I have been struggling with getting passthrough work for PCVR over the past month. I have followed the set ups https://developer.vive.com/resources/openxr/unity/tutorials/passthrough/ and But still didn't make it work. Does anyone know how to submit the alpha layer to SteamVR exactly? This was the only step that I missed out. And whenever I called CompositionLayerPassthroughAPI to create Passthrough in my scene, it just crashed the program immediately which it was fine in the sample scene without showing Passthrough. Although I did see passthrough session has been created in my scene but just can't call the line CompositionLayerPassthroughAPI.CreatexxxPassthrough(LayerType.xxx), does anyone know the reason? Any help would be appreciated 😭🙏
VIVE_chengnay Posted October 8, 2024 Posted October 8, 2024 Hi @Kaworu, Could you provide the VIVE OpenXR Plugin and Vive Hub version?
Kaworu Posted October 8, 2024 Author Posted October 8, 2024 @VIVE_chengnay Hi thanks for the reply! I am currently using VIVE OpenXR Plugin 2.4.1, VIVE Business Streaming 2.0.9 and VIVE Business Streaming app: 1.1.21.33 And I've just tested the sample passthrough scene in a new unity project, it failed to create the passthrough session as well.
VIVE_chengnay Posted October 8, 2024 Posted October 8, 2024 Hi @Kaworu, Could you try below method to check if passthrough works fine on new Unity project? Try setting the background color's alpha value of Camera object to 0. After turning on MR with passthrough, you will be able to see passthrough in your headset.
Kaworu Posted October 8, 2024 Author Posted October 8, 2024 Hi @VIVE_chengnay, yes I did try those settings before. After giving it a few tries, I somehow managed to make the projected passthrough work in a new unity project with the sample scene, but it has a new issue now, which it only works on left lens of my XR Elite headset while the other lens cannot see the projected passthrough. Any idea about the issue? Thanks!
VIVE_chengnay Posted October 9, 2024 Posted October 9, 2024 17 hours ago, Kaworu said: I somehow managed to make the projected passthrough work in a new unity project with the sample scene Hi @Kaworu, Is this the sample scene provided by our VIVE OpenXR Plugin? Other than changing the alpha value, did you modify other settings? Please help me to clarify below 2 items, 1. Double tap the power button on your headset, are you able to see passthrough with both eyes? 2. Please provide screenshot of your SteamVR Settings' Manage OpenXR API Layers
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now