Jump to content

XR Elite Passthrough forever black screen


HANAMA_JP

Recommended Posts

I want to use passthrough with my XR Elite.
I read WAVE VR's Tutorial for MR Contents for passthrough.
(https://hub.vive.com/storage/docs/en-us/TutorialMR/TutorialForMRContents.html)
But the screen is forever black.

I have tried various Unity versions.
2021.3.22/2020.3.40/2020.3.20/2019.4.36
But the screen is black.

I read "Wave Unity SDK » VIVE Wave XR Plugin » Getting Started" and did it.
(https://hub.vive.com/storage/docs/en-us/UnityXR/UnityXRGettingStart.html)
But the screen is black.

I changed the USB cable.
But the screen is black.

I have struggling with this problem for over a week.
It would be helpful if someone could help me.

Link to comment
Share on other sites

Hi, @chengnay,
I already referenced that post and tried the sample code you provided.
But the screen is black.

I confirmed that the Clear Flag and Background of the Camera component changed during playback in the Unity Editor.
So I'm pretty sure your sample code is correct.

i think i'm doing something wrong.
It would be helpful if I could get some advice to make me realize my mistake.

Link to comment
Share on other sites

Hi, @chengnay,

Thanks for your help, I really appreciate it.
I don't understand how to use this forum.
However, I will do the best I can.
Here's an image link that shows some of my sample code and editor.
https://drive.google.com/file/d/1dUbP0pplIUBCHj0_o_eSP804_UjNCr49/view?usp=share_link

Installed Package Manager
・VIVE Wave XR Plugin Version 5.2.1-r.1
・VIVE Wave XR Plugin - Native Version 5.2.1-r.1
・OpenXR Plugin Version 1.7.0

Link to comment
Share on other sites

Hi @HANAMA_JP,

After take a quick look at your code,

I am not sure if it is because you put the code at Start()?

For myself, I create a public function and allow user to click on the button that will enable passthrough.

What you have in Start() should go into ShowPassthroughUnderlay().

Could you try this? Thanks!

  • Like 1
Link to comment
Share on other sites

Hi, @chengnay,

Thank you for checking my code.
I see, I will try the method of clicking the button.
And, thank you for your advice.

I took your advice and, as a test, used the Invoke function in Start() to turn on ShowPassthroughUnderlay() after 5 seconds.
Image links are below.

https://drive.google.com/file/d/1XUaYVaK0tj4Ga_BWuyQeqaMOrt12liYR/view?usp=share_link

I knew ShowPassthroughUnderlay() was turned on because I had "OK"in the console.
And the screen changed from black to white floor + black background.

I would be happy if you could let me know if you notice anything.
I'll try the button click technique.

Link to comment
Share on other sites

Hi, @chengnay,

Calling only ShowPassthroughUnderlay() gave the same result.

Is there something wrong with the connection between the PC and the device?
The platform in Unity is android.
The connection between the PC and XR Elite uses VIVE Streaming Hub and a USB cable.

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