Search Issue Tracker

Fixed in 1.3.1

Votes

4

Found in [Package]

2019.4

2020.3

2021.2

2021.2.0f1

2022.2

Issue ID

1379929

Regression

No

[OpenXR] Device disconnection during running application freezes and explodes the log file to hundreds of megabytes in seconds

Package: OpenXR Plugin

-

Reproduction steps:
1. Open the user's attached project "SSAOXR.zip"
2. Make sure Quest 1/2 is attached and Oculus Link established
3. Enter Play Mode of the "SSAO_Stereo_Issues" scene
4. Unplug Quest
5. Re-plug Quest and re-establish Oculus Link connection
6. Notice the Application not resuming
7. Check the Editor.log

Expected result: Device disconnection during the running application does not explode the log file to hundreds of megabytes in seconds
Actual result: Device disconnection during running application freezes and explodes the log file to hundreds of megabytes in seconds

Reproduces on: 2019.4.32f1, 2020.3.24f1, 2021.2.4f1, 2022.2.0b1

Messages being spammed:
Error: XrResult failure [XR_ERROR_SESSION_LOST]
Origin: xrCreateSwapchain(session, &swapchainCreateInfo, &swapchain.handle)
Source: C:\build\output\unity\xr.sdk.openxr\NativePlugin\Source\unity_swapchain.cpp:183

Notes:
-User notes that this can also happen with Oculus and Air links

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.