steamvr_unity_plugin
steamvr_unity_plugin copied to clipboard
Camera Rotation Skips & Inverts for 20 Degrees
Background & Specs: I'm using Pimax headset w/SteamVR Plugin Beta on 2020.1 (both on latest as of today). I tested on 2019.4.3f1 and this does not happen there. This was always happening on 2020.1 since I started using it about two weeks ago. I can't say whether it happened on 2019 in the past, as I had previously only used Unity's XR and didn't have the issue there, but again 2019 is fine now and 2020.1 not so.
Issue: When physically rotating in playspace, at about the 128 degree mark on the Y axis (as listed on the Transform's Rotation reading for the VRCamera object on the Player rig), the view snaps to -50 degrees (almost inverting perspective). It'll keep rotating in that range until about -70 degrees, at which point it snaps back to about 108 degrees. Again, all of this is on Y axis.
I'm not really sure what files or data could help, but please do let me know and I'd be happy to oblige.
Can anyone from Valve comment or make any suggestions? I just tried again on 2020.2.0f1 and it's still happening.
BTW in case it's unclear, the issue happens when physically rotating the headset in real life. This has nothing to do with code and is as simple as getting the project setup with SteamVR, dropping a Player rig, and hitting play.
One more update in case it helps any potential investigation: The brand new OpenXR plugin works just fine with the Pimax, so this is definitely a Pimax->SteamVR bug that only manifests in 2020+.
Just posting here that I'm experiencing an identical issue on Valve Index using 2019.3 during an attempt to convert from pure SteamVR Unity plugin 2.6.1 (legacy OpenVR) to a hybrid UnityXR with SteamVR input on PC.
Hey, I'm seeing the exact same issue. I'm using a Pimax 8K X for reference. I've noticed this problem in the ValheimVR mod and in Blade & Sorcery 9.2. The problem appeared in B&S 9.1 (Updated to XR plugin as per the patch notes) and was resolved in B&S 9.3 when they: Removed Unity XR plugin (hopefully fix a rare crash / black screen) (as stated in patch notes). Hope this helps. More than happy to provide any log/file necessary.
So there's been a lot of chatter on this in the Pimax community, as I predicated back in 2020. I wanted to add some newer details I've discovered.
So I've since switched to using an interaction framework called HurricaneVR, which is also affected by this bug. However, I discovered when changing the Tracked Pose Driver (which I believe is a UnityXR component it leverages) “Pose Source” field from the default “Center Eye - HMD Reference” to "Head" should alleviate the issue with Pimax. However, that's obviously with a different SDK than SteamVR, which by the sounds of it still suffers from this issue. I just hope that workaround might be a hint as to where the problem lies.
Also, please note I've heard of this happening with non-Pimax headsets, including one of the WMR ones, so it's not Pimax specific.
Same problem over here upgraded to Unity 2020+ and this is happening. Just even clean steam vr nothing at all + UnityXR. cant find any solution maybe someone will look at this. p.s Can confirm that changeing adding Tracked Pose driver by hand and changing “Center Eye - HMD Reference” to "Head" is working with new unity and HP reverbs :) I think for now this is thew way for all of us who is using that pipline :) thanks @MagiJedi for this thread :)