Search Issue Tracker
Fixed
Votes
4
Found in [Package]
1.2.8
Issue ID
1357224
Regression
No
[XR SDK] [OpenXR] Secondary camera does not render when HMD is in sleep mode
Reproduction steps:
1. Open the attached project ("Bug Case 1357224.zip")
2. Connect the HMD and leave it in the sleep mode
3. Enter the Play mode
Expected result: Game window displays image of the secondary camera
Actual result: The Game window is black
Reproducible with: OpenXR 1.2.8 (2020.3.17f1, 2021.1.17f1, 2021.2.0b7, 2022.1.0a5)
Not reproducible with: 2019.4.29f1 (OpenXR not available)
Note:
- Does not reproduce with Oculus XR Plug-in, MockHMD
- After putting the headset on tracking starts to work again
-
AndreasWang
Oct 08, 2021 12:34
This is causing a fair amount of issues for me as well. I'd rather not have to force turn off XR whenever a user quickly takes off their HMD to tweak something on Desktop UI as most users would expect that they could just put on their HMD again and continue doing their thing, instead of needing to click a button to re-enter XR.
It feels like a rather arbitrary limitation in situations where you make use of both HMD and Desktop UI.
-
Iron-Warrior
Sep 05, 2021 18:11
Seconded that I need a workaround for my project. Is this something that is toggled inside the OpenXR source that I could disable? It seems to only happen with Oculus headsets. I assume this is something Unity is doing where rendering is disabled when the headset is on sleep?
This is a significant breaking change from how the Oculus plugin was functioning and prevents a wide range of usages where there is a secondary PC camera.
-
chrpetry
Aug 30, 2021 05:45
I can't continue my project like this.
Could you please prioritize or give me a workaround for this?
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
- Freeze/crash on DynamicHeapAllocator::Allocate when opening a specific project
- Text Settings Inspector sections names have no padding
- UI elements shrinking, misaligned buttons, swapped icons, or incorrect styles when rapidly cycling through Scenes in the Player
- Text field does not disappear if Ctrl+Z is pressed while editing in Viewport
- CullingResults.GetShadowCasterBounds Results Remain Unchanged Despite Restricting Affected Objects with Rendering Layers
Resolution Note:
This is by design. When taking off the headset, OpenXR explicitly moved to IDLE status, which should not be rendering at all.