Jump to content

OpenXR Passthrough not working (Unity)


Recommended Posts

Hi!

I've been building my app in unity (2021.3.33f1) and bumped into an error log:

"CompositionLayerPassthroughAPI HTC_Passthrough feature instance not found."

Passthrough worked in previous version of the app. Now I just get black background. I'm using "VIVE OpenXR Plugin 2.2.0" with enabled Composition layer and Passthrough features in the XR Plugin Management. I'm also starting the passthrough with:

void OnEnable()
    {
        ID = CompositionLayerPassthroughAPI.CreatePlanarPassthrough(LayerType.Underlay);
    }

What might be an issue there? Please help!

Link to comment
Share on other sites

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