Vive
I'm having a big trouble with unity 2020.3.10f1, the SteamVR Unity Plugin v2.7.3 (sdk 1.14.15), and steam vr input with open XR on Windows 10.
I've conencted two base station 2.0 and 2 vive tracker 3.0.
When I go in play mode everithing is working fine, but if I click with the mouse cursor outside of the unity window the system freeze the whole PC. Also moving a windows inside the unity editor itself cause a complete block of the machine. The only way to start agan the pc is aa forced Power OFF.
can someone help me with this isse? i'm going crazy because I can't test nothig. I've also tried changing 2 different Pc and nothing changes.
I hope someone can help me. thanks.
Can you try with different versions of Unity? maybe 2019.4 to be safe? It should definitely work with that version, but I can't imagine what would be causing this behavior.
I’ve already tried with 2019.4. Maybe could be cause by the bull driver in steam? Because I’m not using the headset, but only the trackers. The weird thing is that when I make the build everything is working fine
I'm having the exact same issue. Also using:
- two base station 2.0 and both a vive tracker 2.0 and 3.0.
- the null driver to use the tracker without headset
Tested and occurs in the following unity versions
- 2020.3.18f1
- 2019.4.23f1
And SteamVR Unity Plugin v2.7.3
Did anyone manage to find a solution? @kokkorollo ?
I did some more tests and the issue doesnt occur when NOT using the OpenVR plugin in Unity's new XR plugin framework. Instead, I only enabled virtual reality supported in player settings (this is however deprecated in Unity versions newer than 2019).
Tested using
- unity 2019.4.23f1
- vive input utility OR steamVR (both work, tested in separate projects)
I also tested upgrading this same project to Unity's new XR plugin framework (using the OpenVR plugin) and this caused the issue to return. So the issue seems to be caused by a combination of the OpenVR plugin with Unity's new XR plugin framework and using the Null driver in steamVR. I didn't test with a connected HMD though, because I currently dont have access to one. But if this issue would occur using the HMD, I would expect this bug report to pop up more frequently across the internet than I currently see.
I have been experiencing this exact issue for about a month now, it took me a while to realize what triggers it. I have to use the Vive Tracker 3.0 without a headset for a product at work. I am using Unity 2022.3.20f1 (2022.3.16f1 tested also), 1/15/2024 SteamVR Plugin 2.8.0 release, OpenVR XR Plugin 1.2.1, URP 14.0.10.
Using the Null Driver in SteamVR:
- "C:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\null\resources\settings\default.vrsettings"
- Set: "enable": true,
WIthout fail, every time I try to open a right click dropdown dialog in Windows during Play Mode, my OS permanently freezes and I have to hard power reset.
Immediate causes of freeze:
- Clicking "..." on a component in Unity
-
- Right clicking the Windows Desktop
- Sometimes when opening or closing the "Background Tasks" unity window, it usually takes me about 2 tries
-
The issue will not occur if any of the following is true:
- OpenVR plugin is not active/loaded
- SteamVR isn't running
- No camera component and or "[SteamVR]" gameobject has been instantiated or loaded in play mode
- Not in Play Mode
Attempted solutions that don't work:
- Setting Camera's "Target Eye" to "None"
It strikes me as related to SteamVR's rendering, perhaps SteamVR_Render or SteamVR_Behavior.
This reminds me of how every time a right click dialog was opened in Unity, SteamVR's rendering would freeze-frame in headset and screech to a halt until the dialog closed, I wonder if its related.
@zite For my use case, I was able to mostly solve this issue by eliminating all SteamVR plugin code. I'm interfacing directly with openvr_api.cs to get Vive Tracker 3.0 pose. Freezes seem to be a lot less common but still possible.