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
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.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 1.8.1):
Fixed in Unity Core editor side.
Trunk PR landed in Unity 2023.3.0a1.