ValveSoftware / steamvr_unity_plugin

SteamVR Unity Plugin - Documentation at: https://valvesoftware.github.io/steamvr_unity_plugin/
BSD 3-Clause "New" or "Revised" License
1.02k stars 255 forks source link

Getting black game view with XR management #738

Closed flightCrazed closed 3 years ago

flightCrazed commented 4 years ago

Hi, I am getting a black screen in the game view when playing.

https://github.com/ValveSoftware/steamvr_unity_plugin/tree/UnityXRPlugin reporting per instructions here.

I am using unity 2019.3.14F1 steamvr bug report.zip

1runeberg commented 4 years ago

hi @flightCrazed - thansk for the report, are you able to test with 2019.3.6f1 and see if you can reproduce the issue?

flightCrazed commented 4 years ago

Hi @1runeberg I just tried it on 3.6f1 and it didn't happen. Then I tried again on 3.14 and guess what it didn't happen this time on that either. Perhaps having had the computer restarted (along with steam) did something (because this the only difference from when I tested it last time)? Guess I will report again if this happens.

By the way above only happened when Mirror view mode was set to Open VR. When I had set it to either left or right it worked ok.

flightCrazed commented 4 years ago

@kisak-valve I am not sure if this is the same issue. Problem came back for me even after doing what was shown in #742

flightCrazed commented 4 years ago

I just discovered that if I use XR Toolkit and XR rig from there, this does not happen, there is probably something in there that needs to be done that I am not doing. I will try to dig in if have some time.

TayouVR commented 4 years ago

i seem to have the same issue. My game is entirely black when i try to build it. I am on the newest version of the SteamVR plugin (2.6.0b1) aswell as the XR management plugin (1.0.0 - preview.2). I am using unity 2019.3.12f1 on windows 10 1903. My project can be seen here: https://github.com/SupraEntertainment/VRRythmGame

flightCrazed commented 4 years ago

i seem to have the same issue. My game is entirely black when i try to build it. I am on the newest version of the SteamVR plugin (2.6.0b1) aswell as the XR management plugin (1.0.0 - preview.2). I am using unity 2019.3.12f1 on windows 10 1903. My project can be seen here: https://github.com/SupraEntertainment/VRRythmGame

@TayouVR See these -you will need to do both of these

https://github.com/ValveSoftware/steamvr_unity_plugin/issues/724#issuecomment-634317850 https://github.com/ValveSoftware/steamvr_unity_plugin/issues/713#issuecomment-634241004

TayouVR commented 4 years ago

ah thanks, that worked. Those fixes are going to be in the next release of the plugin? I don't see any pending pull requests...

TayouVR commented 4 years ago

I have created two pull requests for those two fixes. https://github.com/ValveSoftware/steamvr_unity_plugin/pull/754 https://github.com/ValveSoftware/steamvr_unity_plugin/pull/755

flightCrazed commented 4 years ago

ah thanks, that worked. Those fixes are going to be in the next release of the plugin? I don't see any pending pull requests...

I read somewhere that would be the case for one of them but I am sure they both would be there. I really hope they bring this out of preview soon and make it release ready.

@1runeberg Do you guys have an estimate on when this plugin will be production ready? Thanks.

zite commented 4 years ago

I believe this has been fixed in preview-5. To upgrade go to the Unity Package Manager, select OpenVR XR Plugin, and click Update in the lower right hand corner. If you're using SteamVR Unity Plugin you'll want to update to beta 3 here: https://github.com/ValveSoftware/steamvr_unity_plugin/releases/tag/2.6.0b3 If you're on preview-3 or below you'll need to remove it from the package manager and install using the installer found here: https://github.com/ValveSoftware/unity-xr-plugin/releases/tag/installer

kisak-valve commented 3 years ago

Closing per the last comment.