Search Issue Tracker

Fixed

Fixed in 1.8.1

Votes

0

Found in [Package]

1.8.0

Issue ID

OXRB-179

Regression

No

Access violation is triggered when calling Application.Quit() in an OpenXR HoloLens 2 application

Package: OpenXR Plugin

-

1. What happened
Calling Application.Quit() triggers application shutdown. However, Unity calls back into MicrosoftOpenXRPlugin.dll after having downloaded it, thus generating an access violation:

0b 0000001a`70ffec50 00007ffc`6d323444 ntdll!RtlDispatchException+0x1c0 [minkernel\ntos\rtl\arm64\exdsptch.c @ 614]
0c 0000001a`70fff290 00007ffc`519e2d80 ntdll!KiUserExceptionDispatcher+0x24
0d 0000001a`70fff6e0 00007ffc`4b4374d4 MicrosoftOpenXRPlugin+0x22d80
0e 0000001a`70fff6e0 00007ffc`4b025f6c UnityPlayer!XRWindowsLocatableCamera::`vector deleting destructor'+0x3c
0f 0000001a`70fff720 00007ffc`4abd77d4 UnityPlayer!RuntimeStatic<KeyboardOnScreenCoreTextEdit,0>::StaticDestroy+0x2c
10 0000001a`70fff750 00007ffc`4a941dc8 UnityPlayer!RegisterRuntimeInitializeAndCleanup::ExecuteCleanup+0xec
11 0000001a`70fff7b0 00007ffc`4ba3b5d4 UnityPlayer!RuntimeCleanup+0x30
12 0000001a`70fff830 00007ffc`4ba1eb74 UnityPlayer!metro::CleanupUnityRuntime+0x14
13 0000001a`70fff840 00007ffc`4ba271d0 UnityPlayer!UnityPlayer::AppCallbacks::DoPerformUpdateAndRender+0x354
14 0000001a`70fff8e0 00007ffc`6d380518 UnityPlayer!UnityPlayer::AppCallbacks::_AppThreadImplementation+0x378

2. How can we reproduce it using the example you attached
Pair a gamepad to the HL, launch the app and press A.

  1. Resolution Note:

    Fixed in Unity Core editor side.
    Trunk PR landed in Unity 2023.3.0a1.

Add comment

Log in to post comment