Unity Issue Tracker - Hiding the built Player Window stops HMD from rendering
Closed
UUM-45918
Hiding the built Player Window stops HMD from rendering
Unity: XR SDK
XR
Won't Fix
2023.1.X
2022.3.X
2021.3.X
Using windows commands to disable the player window is not a supported use case or intended usage for XR in Unity.
Steps to reproduce:
1. Create a new project or a VR template
2. Add the attached script "HideUnityWindow.cs" to a GameObject
3. Connect Oculus Link to Quest 2
4. Build a Standalone Player
5. Observe in the headset how the view no longer renders or begins to flicker
Expected results: Hiding the built Player Window does not stop HMD from rendering
Actual results: Hiding the built Player Window stops HMD from rendering
Notes:
-Issue is not reproducible in the Editor
-Only reproducible when building a Standalone Windows Player
-Issue reproduces with both OpenXR and OculusXR plugins
-Issue reproduces with Vulkan and Direct3D11
Prioritise and Follow this issue
Have a workaround or additional info about this issue?