ValveSoftware / unity-xr-plugin

OpenVR plugin for Unity's XR API
BSD 3-Clause "New" or "Revised" License
309 stars 64 forks source link

HDRP: Game view deformed or black in Play Mode. #77

Open Yalfbal opened 3 years ago

Yalfbal commented 3 years ago

Hi, I'm developing a virtual studio and I'm trying to use Vive Tracker to track the cameras. So I'm not interested in nothing else that this tracking, not VR, not stereo rendering... but in the Game view the camera is always deformed (for VR lenses) or black.

Unity 2019.4.18f1 HDRP 7.5.3 SteamVR Plugin (from AssetStore) 2.7.2 (sdk sdk 1.14.15)

Camera component -> Debug mode -> Target Eye: 0 (like "None(Main Display)" in not HDRP)

OpenVR settings -> Mirror View Mode -> Open VR, left or right -> The game view shows the camera but deformed OpenVR settings -> Mirror View Mode -> others -> The game view is black.

Editor.log SteamVR-2021-01-29-AM_11_59_53.txt

benjaminSponagel commented 3 years ago

We have exactly the same problem as described above. When I start the game in "Mirror View Mode == OpenVR" in the game view of the editor I see it saying "Left Eye", which would explain the deformation. I cannot change it from Left Eye, to let's say "both" - it just won't let me. image

Yalfbal commented 3 years ago

At the end, I have updated the project to Unity 2020.2.2f1 and it works fine here. Now the camera component has a "XR Rendering" flag, there isn't anything like "Target Eye" from older versions.