HANAMA_JP Posted May 16 Share Posted May 16 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 More sharing options...
chengnay Posted May 17 Share Posted May 17 Hi @HANAMA_JP, Could you refer to this post? Is your problem resolved after applying the sample code I provided? 1 Link to comment Share on other sites More sharing options...
HANAMA_JP Posted May 17 Author Share Posted May 17 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 More sharing options...
chengnay Posted May 18 Share Posted May 18 Hi @HANAMA_JP, Could you provide sample code or project for further investigation? 1 Link to comment Share on other sites More sharing options...
HANAMA_JP Posted May 18 Author Share Posted May 18 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 More sharing options...
chengnay Posted May 19 Share Posted May 19 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! 1 Link to comment Share on other sites More sharing options...
HANAMA_JP Posted May 19 Author Share Posted May 19 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 More sharing options...
chengnay Posted May 19 Share Posted May 19 Hi @HANAMA_JP, I saw you call many passthrough APIs, could you just call the underlay one? 1 Link to comment Share on other sites More sharing options...
HANAMA_JP Posted May 19 Author Share Posted May 19 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 More sharing options...
chengnay Posted May 20 Share Posted May 20 Hi @HANAMA_JP, I have never tried MR using the streaming hub. I will have to double check and get back to you. I only developed using Android platform. I saw that OpenXR Plugin was installed. Your project is for WaveXR or OpenXR? 1 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