unity-xr-plugin icon indicating copy to clipboard operation
unity-xr-plugin copied to clipboard

Crash in Unity when SteamVR exits

Open Bengt opened this issue 3 years ago • 4 comments

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

Bengt avatar Apr 28 '22 12:04 Bengt

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>

Bengt avatar Apr 28 '22 15:04 Bengt

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

keithbradner avatar Apr 28 '22 21:04 keithbradner

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

Bengt avatar Apr 28 '22 22:04 Bengt

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

Trekopep avatar Aug 29 '24 18:08 Trekopep