Search Issue Tracker

Fixed in 1.2.8

Votes

3

Found in [Package]

1.2.2

Issue ID

1345780

Regression

No

[XR][OpenXR]Crash on OpenXRLoaderBase.Internal_PumpMessageLoop when HMD goes to idle state and OpenXR Lifecycle Hooks is enabled

Package: OpenXR Plugin

-

Reproduction steps:
1. Open the user's attached "OpenXR Bugs.zip" project
2. Load ControllerSample scene
3. Make sure the "OpenXR Lifecycle Hooks" feature is enabled (Project Settings > XR Plug-in Management > OpenXR)
4. Enter Play mode
5. Make sure HMD is active
6. Put HMD to an idle state
-- Observe the crash

Reproducible with: OpenXR 1.2.2 (2020.3.13f1, 2021.1.14f1, 2021.2.0b2, 2022.1.0a1)
Could not test with: 2018.4, 2019.4 (OpenXR requires 2020.2+)

Note: the crash occurs with both Oculus and SteamVR OpenXR runtimes

Tested with:
- Oculus Rift

First lines of the stacktrace:
at UnityEngine.XR.OpenXR.OpenXRLoaderBase:Internal_PumpMessageLoop <0x00086>
      at UnityEngine.XR.OpenXR.OpenXRLoaderBase:ProcessOpenXRMessageLoop <0x000aa>
      at UnityEngine.BeforeRenderHelper:Invoke <0x000c1>
      at UnityEngine.Application:InvokeOnBeforeRender <0x0001a>
      at System.Object:runtime_invoke_void <0x00084>
  ...

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.