unity-xr-plugin
unity-xr-plugin copied to clipboard
Crash in Unity when SteamVR exits
I get a crash in Unity when SteamVR exits. The Unity support says the issue is caused by SteamVR code:
...
at <unknown> <0xffffffff>
at System.Object:wrapper_native_00007FFA45BF6280 <0x00617>
at Valve.VR.CVRSystem:PollNextEvent <0x001e0>
at Valve.VR.SteamVR_Render:Update <0x0013a>
at System.Object:runtime_invoke_void__this__ <0x00087>
...
https://fogbugz.unity3d.com/default.asp?1423519_khuqhpjl0e7q5838
I got another one of these:
at <unknown> <0xffffffff>
at System.Object:wrapper_native_00007FFBD95D6280 <0x00637>
at Valve.VR.CVRSystem:PollNextEvent <0x00240>
at Valve.VR.SteamVR_Render:Update <0x00192>
at System.Object:runtime_invoke_void__this__ <0x000a7>
Thanks for the report. Can you provide more information?
Does this only happen in editor? Unity version XR Management package version SteamVR Unity Plugin version SteamVR version Headset
Hi @zite!
- Yes, it happens when I am using the editor.
- I am Unity version 2021.3.1f1
- XR Management package version: "com.unity.xr.management": "4.2.1"
- SteamVR Unity Plugin version: 2.7.3
- SteamVR version: 1.22.9
- Headset: HTC Vive Pro Eye
Also running into this issue, same stacktrace as Bengt, though I don't think mine happened specifically when SteamVR exited. It happened twice on the same day, but I don't remember the specifics. Once might've been when pressing play (so, opening SteamVR rather than exiting it?)
- Unity 6000.0.11f1
- XR Plugin Management version: 4.4.0
- Steam VR Unity Plugin version: 2.8.0 (sdk 2.0.10)
- Steam VR version: 2.7.4
- Headset: Valve Index