Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

1.3.1

Issue ID

1385827

Regression

No

Editor crashes after entering the Play mode and refreshing OpenXR Runtime Debugger

Package: OpenXR Plugin

-

Reproduction steps:
1. Open the user's attached "New Unity Project (1).zip" project
2. Enter the Play mode
3. Open the OpenXR Runtime Debugger window (Window > XR > OpenXR > Runtime Debugger) and click Refresh

Expected result: OpenXR Runtime Debugger refreshes
Actual result: The Editor crashes

Reproducible with: 1.3.1 (2020.3.24f1, 2021.2.5f1, 2022.1.0b1)
Could not test with: 2019.4.33f1 (OpenXR not supported)

First lines of the crash stacktrace:
0x0000028fb2395ea5 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.XR.OpenXR.Features.RuntimeDebugger.RuntimeDebuggerOpenXRFeature:Native_GetDataForRead (intptr&,uint&)
0x0000028fb2395b2b (Mono JIT Code) [RuntimeDebuggerOpenXRFeature.cs:61] UnityEngine.XR.OpenXR.Features.RuntimeDebugger.RuntimeDebuggerOpenXRFeature:RecvMsg (UnityEngine.Networking.PlayerConnection.MessageEventArgs)
0x0000028fb23031e3 (Mono JIT Code) [RuntimeDebuggerWindow.cs:138] UnityEditor.XR.OpenXR.Features.RuntimeDebugger.RuntimeDebuggerWindow:OnGUI ()
0x0000028fabb11d3a (Mono JIT Code) UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
0x0000028fabb11b53 (Mono JIT Code) UnityEditor.DockArea:DrawView (UnityEngine.Rect)

  1. Resolution Note:

    To use OpenXRRuntimeDebugger, please use OpenXR XR plugin, not Oculus plugin.

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.