Unity version used: 2020.3.35/ 2021.3.1 (oculus integration installed, not sure if this is the reason)
Unity MR Plugin: 1.7
Branch used: https://github.com/microsoft/OpenXR-Unity-MixedReality-Samples/tree/Update-to-MR-OpenXR-Plugin-1.7-release
Repro steps:
- Checkout above branch, open basic sample
- Build app remoting standalone/UWP app
- Run the app and connect to player app running on HL2
- Disconnect using "Disconnect" button in the app
- observe that 2D UI does not appear on the PC and it freezes on disconnect.
Logs:
Look towards the end of the logs - It is stuck on seemingly an MRTK issue - ArticulatedHand Controller Right was never registered with the Input Manager!
[XR] [31292] [13:00:52.351][Info ] ==== OpenXR Swapchain Details ====
[XR] [31292] [13:00:52.351][Info ]
[XR] [31292] [13:00:52.351][Info ] Render Mode: Single Pass Instanced
[XR] [31292] [13:00:52.351][Info ] Depth Submission Mode: Depth24Bit
[XR] [31292] [13:00:52.351][Info ]
[XR] [31292] [13:00:52.351][Info ] Swapchain Formats: [c:91] 29 87 28 40 [d:20] 45 55
[XR] [31292] [13:00:52.351][Info ] Swapchain Views: (2)
[XR] [31292] [13:00:52.351][Info ] [0]: Width=1584, Height=1030, SampleCount=1
[XR] [31292] [13:00:52.351][Info ]
[XR] [31292] [13:00:52.351][Info ] ==== Last 20 non-XR_SUCCESS returns ====
[XR] [31292] [13:00:52.351][Info ] [SUCCESS] xrGetReferenceSpaceBoundsRect: XR_SPACE_BOUNDS_UNAVAILABLE (2x)
[XR] [31292] [13:00:52.351][Info ] [FAILURE] xrSuggestInteractionProfileBindings: XR_ERROR_PATH_UNSUPPORTED (1x)
[XR] [31292] [13:00:52.351][Info ]
[XR] [31292] [13:00:52.351][Info ] ==== Last 20 Events ====
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_UNKNOWN->XR_SESSION_STATE_IDLE
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_IDLE->XR_SESSION_STATE_READY
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_READY->XR_SESSION_STATE_SYNCHRONIZED
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_VISIBLE
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_FOCUSED
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_FOCUSED->XR_SESSION_STATE_VISIBLE
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_SYNCHRONIZED
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_STOPPING
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_STOPPING->XR_SESSION_STATE_IDLE
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_IDLE->XR_SESSION_STATE_EXITING
[XR] [31292] [13:00:52.351][Info ]
==== End Unity OpenXR Diagnostic Report ====
[XR] [MROpenXR][Info ][13:00:52.352002][tid:7a3c] RemoteSpeechProvider_ProviderUnregistered
[AppRemotingPlugin] OnInstanceDestroy, remotingState was Disconnecting.
[AppRemotingSubsystem] DeinitializeLoader
Setting up 12 worker threads for Enlighten.
Thread -> id: 792c -> priority: 1
Thread -> id: 8a38 -> priority: 1
Thread -> id: 446c -> priority: 1
Thread -> id: 42e8 -> priority: 1
Thread -> id: 9078 -> priority: 1
Thread -> id: 3778 -> priority: 1
Thread -> id: 6880 -> priority: 1
Thread -> id: 7ddc -> priority: 1
Thread -> id: 8ed4 -> priority: 1
Thread -> id: 2024 -> priority: 1
Thread -> id: 7fc0 -> priority: 1
Thread -> id: 6cec -> priority: 1
[MRTK Issue] ArticulatedHand Controller Right was never registered with the Input Manager!
Unity version used: 2020.3.35/ 2021.3.1 (oculus integration installed, not sure if this is the reason)
Unity MR Plugin: 1.7
Branch used: https://github.com/microsoft/OpenXR-Unity-MixedReality-Samples/tree/Update-to-MR-OpenXR-Plugin-1.7-release
Repro steps:
Logs:
Look towards the end of the logs - It is stuck on seemingly an MRTK issue - ArticulatedHand Controller Right was never registered with the Input Manager!
[XR] [31292] [13:00:52.351][Info ] ==== OpenXR Swapchain Details ====
[XR] [31292] [13:00:52.351][Info ]
[XR] [31292] [13:00:52.351][Info ] Render Mode: Single Pass Instanced
[XR] [31292] [13:00:52.351][Info ] Depth Submission Mode: Depth24Bit
[XR] [31292] [13:00:52.351][Info ]
[XR] [31292] [13:00:52.351][Info ] Swapchain Formats: [c:91] 29 87 28 40 [d:20] 45 55
[XR] [31292] [13:00:52.351][Info ] Swapchain Views: (2)
[XR] [31292] [13:00:52.351][Info ] [0]: Width=1584, Height=1030, SampleCount=1
[XR] [31292] [13:00:52.351][Info ]
[XR] [31292] [13:00:52.351][Info ] ==== Last 20 non-XR_SUCCESS returns ====
[XR] [31292] [13:00:52.351][Info ] [SUCCESS] xrGetReferenceSpaceBoundsRect: XR_SPACE_BOUNDS_UNAVAILABLE (2x)
[XR] [31292] [13:00:52.351][Info ] [FAILURE] xrSuggestInteractionProfileBindings: XR_ERROR_PATH_UNSUPPORTED (1x)
[XR] [31292] [13:00:52.351][Info ]
[XR] [31292] [13:00:52.351][Info ] ==== Last 20 Events ====
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_UNKNOWN->XR_SESSION_STATE_IDLE
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_IDLE->XR_SESSION_STATE_READY
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_READY->XR_SESSION_STATE_SYNCHRONIZED
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_VISIBLE
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_FOCUSED
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_FOCUSED->XR_SESSION_STATE_VISIBLE
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_SYNCHRONIZED
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_STOPPING
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_STOPPING->XR_SESSION_STATE_IDLE
[XR] [31292] [13:00:52.351][Info ] XrEventDataSessionStateChanged: XR_SESSION_STATE_IDLE->XR_SESSION_STATE_EXITING
[XR] [31292] [13:00:52.351][Info ]
==== End Unity OpenXR Diagnostic Report ====
[XR] [MROpenXR][Info ][13:00:52.352002][tid:7a3c] RemoteSpeechProvider_ProviderUnregistered
[AppRemotingPlugin] OnInstanceDestroy, remotingState was Disconnecting.
[AppRemotingSubsystem] DeinitializeLoader
Setting up 12 worker threads for Enlighten.
Thread -> id: 792c -> priority: 1
Thread -> id: 8a38 -> priority: 1
Thread -> id: 446c -> priority: 1
Thread -> id: 42e8 -> priority: 1
Thread -> id: 9078 -> priority: 1
Thread -> id: 3778 -> priority: 1
Thread -> id: 6880 -> priority: 1
Thread -> id: 7ddc -> priority: 1
Thread -> id: 8ed4 -> priority: 1
Thread -> id: 2024 -> priority: 1
Thread -> id: 7fc0 -> priority: 1
Thread -> id: 6cec -> priority: 1
[MRTK Issue] ArticulatedHand Controller Right was never registered with the Input Manager!