awtterpip / bevy_oxr

Apache License 2.0
253 stars 39 forks source link

Crash when removing headset during gameplay #26

Closed DanielQuick closed 1 year ago

DanielQuick commented 1 year ago

Tested using Windows 11, PCVR with Meta Quest 2 over Airlink.

thread 'Compute Task Pool (11)' panicked at C:\Users\Daniel\.cargo\git\checkouts\bevy_openxr-1dedcf84dfa11c13\f168a40\src\lib.rs:341:14:
called `Result::unwrap()` on an `Err` value: ERROR_SESSION_NOT_RUNNING
stack backtrace:
   0:     0x7ffe6037738a - <unknown>
   1:     0x7ffe603abb5b - <unknown>
   2:     0x7ffe6036cc51 - <unknown>
   3:     0x7ffe6037710a - <unknown>
   4:     0x7ffe6037a8ca - <unknown>
   5:     0x7ffe6037a538 - <unknown>
   6:     0x7ffe6037b03e - <unknown>
   7:     0x7ffe6037af2d - <unknown>
   8:     0x7ffe60378049 - <unknown>
   9:     0x7ffe6037ac30 - <unknown>
  10:     0x7ffe603e0d85 - <unknown>
  11:     0x7ffe603e12e4 - <unknown>
  12:     0x7ff6170f23ba - <unknown>
  13:     0x7ff6170d6b79 - <unknown>
  14:     0x7ffe530e5a71 - <unknown>
  15:     0x7ffe531099bf - <unknown>
  16:     0x7ffe53116274 - <unknown>
  17:     0x7ffe53114eab - <unknown>
  18:     0x7ffe531142fa - <unknown>
  19:     0x7ffe53113a18 - <unknown>
  20:     0x7ffe6038e3ec - <unknown>
  21:     0x7ffee301257d - <unknown>
  22:     0x7ffee3b2aa78 - <unknown>
Encountered a panic in system `bevy_openxr::end_frame`!