Jump to content

Recommended Posts

Posted

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 😭🙏

 

Posted

@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.

Posted

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.

image.png.4ae1994af8ef425dcca4d8d4fbfe76fa.png

After turning on MR with passthrough, you will be able to see passthrough in your headset.

image.png.85ba4de5806c0ec5e36299d16e89a08e.png

Posted

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!

Posted
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...