Search Issue Tracker

Fixed

Votes

0

Found in [Package]

1.0.3

Issue ID

1324478

Regression

No

[XR SDK][OpenXR][Vulkan] Editor crashes when entering Play mode and Lock Input to Game View is enabled

Package: OpenXR Plugin

-

Reproduction steps:
1. Open the user's attached "3dtest.zip" project
2. Load the "empty" scene
3. Make sure the "Lock Input to Game View" is enabled in the Input Debugger window
4. Enter Play mode
-- Observe the crash

Reproducible with: 2020.3.2f1, 2021.1.1f1, 2021.2.0a11
Could not test with 2018.4, 2019.4 (no OpenXR available)

Notes:
- reproducible only when Vulkan Graphics API is selected
- could not reproduce with Oculus, MockHMD XR Plug-in Providers

Tested with:
- Oculus Rift

First lines of the stacktrace:
at (wrapper managed-to-native) UnityEngine.XR.OpenXR.OpenXRLoaderBase.Internal_CreateSessionIfNeeded () [0x00008] in <a571e0fe3f074363a487c71db86954c4>:0
at UnityEngine.XR.OpenXR.OpenXRLoaderBase.StartInternal () [0x00001] in C:\Users\Downloads\case_1324478-3dtest\Library\PackageCache\com.unity.xr.openxr@1.0.3\Runtime\OpenXRLoader.cs:329
at UnityEngine.XR.OpenXR.OpenXRLoaderBase.Start () [0x00036] in C:\Users\Downloads\case_1324478-3dtest\Library\PackageCache\com.unity.xr.openxr@1.0.3\Runtime\OpenXRLoader.cs:313
at UnityEngine.XR.Management.XRManagerSettings.StartSubsystems () [0x0002d] in C:\Users\Downloads\case_1324478-3dtest\Library\PackageCache\com.unity.xr.management@4.0.1\Runtime\XRManagerSettings.cs:403

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.