Describe the bug
When you press the power button of the HL2 when the app is running and then resume it can result in indefinitely seeing spinning white balls. This usually happens after one or two cycles of putting the device on standby and then resuming the app, but can sometimes take more attempts.
To reproduce
Steps to reproduce the behavior:
- Clone this git repo
- Open Unity project
- Switch to UWP build platform
- Build application
- Switch solution config to Release and ARM64
- Build and Start the application
- Wait until the app has started, wait 5 seconds, then short press on the power button to put the HL2 to sleep
- Wait another 5 seconds, press the power button to wake up the device. Resume the app from the app slate in the world (or from the start menu if the app slate doesn't exist yet.
- Repeat steps 7 and 8 until the app no longer resumes and shows the spinning white balls.
Expected behavior
The application should resume without white spinning balls.
Your setup (please complete the following information)
- Unity Version 2020.3.19
- Unity OpenXR Package 1.2.8
- Mixed Reality OpenXR Package 1.0.3
- Holographic OS 20348.1018
- OpenXR Runtime Version 107.2108.5003.0
Target platform (please complete the following information)
Additional context
If you run with the debugger attached when the problem occurs you will get an exception at the point you press the power button prior to seeing the white spinning balls.
Callstack (trimmed to make it more readable)
GameAssembly.dll!OpenXRLoaderBase_Internal_EndSession GameAssembly.dll!OpenXRLoaderBase_StopInternal GameAssembly.dll!OpenXRLoaderBase_ReceiveNativeEvent GameAssembly.dll!ReversePInvokeWrapper_OpenXRLoaderBase_ReceiveNativeEvent GameAssembly.dll!OpenXRLoaderBase_Internal_PumpMessageLoop GameAssembly.dll!OpenXRLoaderBase_ProcessOpenXRMessageLoop GameAssembly.dll!_ClearLastSubmittedFrame_Invoke GameAssembly.dll!BeforeRenderHelper_Invoke GameAssembly.dll!Application_InvokeOnBeforeRender GameAssembly.dll!RuntimeInvoker_FalseVoid GameAssembly.dll!il2cpp::vm::Runtime::Invoke
Describe the bug
When you press the power button of the HL2 when the app is running and then resume it can result in indefinitely seeing spinning white balls. This usually happens after one or two cycles of putting the device on standby and then resuming the app, but can sometimes take more attempts.
To reproduce
Steps to reproduce the behavior:
Expected behavior
The application should resume without white spinning balls.
Your setup (please complete the following information)
Target platform (please complete the following information)
Additional context
If you run with the debugger attached when the problem occurs you will get an exception at the point you press the power button prior to seeing the white spinning balls.
Callstack (trimmed to make it more readable)
GameAssembly.dll!OpenXRLoaderBase_Internal_EndSession GameAssembly.dll!OpenXRLoaderBase_StopInternal GameAssembly.dll!OpenXRLoaderBase_ReceiveNativeEvent GameAssembly.dll!ReversePInvokeWrapper_OpenXRLoaderBase_ReceiveNativeEvent GameAssembly.dll!OpenXRLoaderBase_Internal_PumpMessageLoop GameAssembly.dll!OpenXRLoaderBase_ProcessOpenXRMessageLoop GameAssembly.dll!_ClearLastSubmittedFrame_Invoke GameAssembly.dll!BeforeRenderHelper_Invoke GameAssembly.dll!Application_InvokeOnBeforeRender GameAssembly.dll!RuntimeInvoker_FalseVoid GameAssembly.dll!il2cpp::vm::Runtime::Invoke