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
Comments (3)
-
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
This is by design. When taking off the headset, OpenXR explicitly moved to IDLE status, which should not be rendering at all.