curvaturegames Posted March 29, 2023 Share Posted March 29, 2023 I tried following the instructions here https://developer.vive.com/resources/openxr/openxr-mobile/tutorials/unity/passthrough/ (and related pages) but LayerType.Underlay doesn't work for me (only shows black). Using Unity 2021.3.2f1 I created two new projects (one Standard, one URP) and imported VIVE OpenXR Plugin - Android, VIVE OpenXR ToolKit - Android and VIVE OpenXR ToolKit Samples- Android. Then made a build of the sample scene PassthroughSample_Projection from the ToolKit Samples package. It works fine with Standard but the Underlay option still only shows black in URP. Is there something I am missing? 1 1 Link to comment Share on other sites More sharing options...
jcm01 Posted April 17, 2023 Share Posted April 17, 2023 (edited) Hi @curvaturegames Did you get the underlay passthrough to work with URP yet? I am having the same issue on the new XR elite device Edited April 17, 2023 by jcm01 Link to comment Share on other sites More sharing options...
FracEdd Posted May 23, 2023 Share Posted May 23, 2023 We have passthrough working with URP both in our app and in the Toolkit sample. Unity 2022.3.22 URP 12.1.10 Link to comment Share on other sites More sharing options...
ILoveGames Posted July 13, 2023 Share Posted July 13, 2023 On 5/23/2023 at 10:02 PM, FracEdd said: We have passthrough working with URP both in our app and in the Toolkit sample. Unity 2022.3.22 URP 12.1.10 Hello, I have the same problem than @curvaturegames Initialy, my project was in Unity 2021.3.24 and URP 12.1.11 I tried to upgrade to Unity 2022.3.3 (as 2022.3.22 doesnt exist in archives, BTW, on this version, minimal URP version is 14.0.8, so i think you are talking about 2021) But i cant get passthrough underlay working.even in the Toolkit sample (overlay works on both version) Are you working on focus 3 ? Link to comment Share on other sites More sharing options...
ILoveGames Posted July 17, 2023 Share Posted July 17, 2023 For whoever need this, i resolved my problem by disabling HDR in the Universal Render Pipeline Asset. Link to comment Share on other sites More sharing options...
JustinOng Posted July 20, 2023 Share Posted July 20, 2023 I have the same problem when building the provided sample scene PassthroughSample_Planar, and disabling HDR did not help. The background is still just black after building the APK and installing it to the Focus 3. I'm using Unity 2020.3.44f1 with OpenXR plugin version 1.6.0, and the Vive OpenXR packages are version 1.0.5. The error messages in the logs are as follows: 07-11 20:14:39.160 15497 15519 E Unity : Wave.OpenXR.ViveCompositionLayerPassthrough Xr Session not found 07-11 20:14:39.160 15497 15519 E Unity : Wave.OpenXR.CompositionLayer.Passthrough.ViveCompositionLayerPassthrough:HTCPassthrough_CreatePassthrough(LayerType, PassthroughLayerForm, OnPassthroughSessionDestroyDelegate, UInt32) 07-11 20:14:39.160 15497 15519 E Unity : Wave.OpenXR.Toolkit.CompositionLayer.Passthrough.CompositionLayerPassthroughAPI:CreatePlanarPassthrough(LayerType, OnPassthroughSessionDestroyDelegate, Single, UInt32) 07-11 20:14:39.160 15497 15519 E Unity : CreatePlanarPassthrough:Update() 07-11 20:14:39.160 15497 15519 E Unity : 07-11 20:14:39.160 15497 15519 E Unity : CompositionLayerPassthroughAPI Failed to create projected pasthrough 07-11 20:14:39.160 15497 15519 E Unity : Wave.OpenXR.Toolkit.CompositionLayer.Passthrough.CompositionLayerPassthroughAPI:CreatePlanarPassthrough(LayerType, OnPassthroughSessionDestroyDelegate, Single, UInt32) 07-11 20:14:39.160 15497 15519 E Unity : CreatePlanarPassthrough:Update() Link to comment Share on other sites More sharing options...
maXR Posted January 17 Share Posted January 17 I have the same problem, that my passthrough samples stay black on HTC Vive XR Elite, after building and deploying. I have all the settings right and went through the tutorials multiple times, to make sure I didn't forget something. HDR is disabled and I switched the RenderPipeline Asset to Performant. Any help would be appreciated! Link to comment Share on other sites More sharing options...
maXR Posted January 17 Share Posted January 17 14 minutes ago, maXR said: I have the same problem, that my passthrough samples stay black on HTC Vive XR Elite, after building and deploying. I have all the settings right and went through the tutorials multiple times, to make sure I didn't forget something. HDR is disabled and I switched the RenderPipeline Asset to Performant. Any help would be appreciated! Found the error already. As I was tinkering around, I forgot to change the XR Plugin Settings to OpenXR for Standalone AND Android. After unchecking WaveXR and checking OpenXR the samples worked like a charm 🙂 Link to comment Share on other sites More sharing options...
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