Thank you for submitting your inquiry.
You can track the status of your inquiry here.
You may want to save your case's ticket: 1007117_4ldbo97mhrnqv3h7


    (Closed) [UWP] XREnabled is true even if no headset is connected. Using flat mode is impossible
     
     
     
    5
    [UWP] XREnabled is true even if no headset is connected. Using flat mode is impossible

    1. What happened
    A UWP project iwth Virtual Reality Supported checked will try to start the VR view even if a headset is not connected. If this option is checked, it's impossible to use the app in flat mode because Unity tries to activate the VR mode.
    When the application is started, the mixed reality portal is started but no headset is connected.
    You can take a look at XRSettings to see that enabled is true, isDeviceActive is true, etc.

    This problem happens in the editor AND the player.

    2. How we can reproduce it using the example you attached
    - Open the only scene of the project
    - Switch to Windows Universal Platform
    - DO NOT connect any headset
    - Press play

    The Mixed Reality portal will open, the camera's transform is overrided by the SDK and some error messages will pop in the console.

    In some cases, the OpenVR is also started, it happens when you uncheck VR Supported and press play.


    License type: Free
     
       
      To follow up on this case, send email to bugs@unity3d.com mentioning 'Case 1007117' in the subject.
      Your Cases:
      Case Title Status Date Opened
      1254852 Mac and Linux targets don't compile when Oculus XR plugin is checked Open 6/11/2020 9:08 AM
      1213981 New input system doesn't detect the Xbox One controller (USB Closed 1/23/2020 11:30 AM
      1187118 Editor crashes entering playmode when VR is enabled Closed 9/26/2019 1:09 PM
      1180465 Crash on startup Closed 8/30/2019 10:51 AM
      1169165 Editor crash during debug with Visual Sutdio Closed 7/12/2019 11:52 AM
      1162238 Back screen when VR and Post Processing stack V2 are enabled Closed 6/12/2019 3:30 PM
      1129868 Windows Mixed Reality is always marked as enabled even when it's not Closed 2/21/2019 3:30 PM
      1090892 Lightweight SRP Shader compilation infinite loop on Android Closed 10/15/2018 1:10 PM
      1089749 Can't build player for Android, no usefull error message Closed 10/11/2018 1:30 PM
      1008726 The editor crashes on quit Closed 3/2/2018 9:50 AM
      1007930 UWP build: Black screen on build when VR supported is checked Closed 2/28/2018 3:00 PM
      1007117 [UWP] XREnabled is true even if no headset is connected. Using flat mode is impossible Closed 2/28/2018 9:20 AM
      1002126 UnityPlayer.dll caused an Access Violation Closed 2/14/2018 2:10 PM
      999370 [UWP/Windows Mixed Reality] Single pass stereo instanced, nohting for the right eye Closed 2/7/2018 5:20 PM
      991271 InputTracking.Recenter does nothing with Windows Mixed Reality Closed 1/23/2018 3:50 PM
      990733 [Windows Mixed Reality] Image flipped when adding image effects Closed 1/22/2018 4:10 PM
      986710 [UWP/XR] Linear rendering is too dark when Windows Mixed Reality is enabled Closed 1/11/2018 9:45 AM
      976487 Application.isMobilePlatform returns true for UWP builds on PC (and probably elsewhere Closed 12/7/2017 6:20 PM
      975669 Windows Mixed Reality controllers are not displayed Closed 12/5/2017 11:40 AM
      975668 Windows Mixed Reality: Can't get back the tracking. It slowdown the MR Portal too Closed 12/5/2017 11:40 AM
      953578 Unity Editor crashes in play mode with the Oculus Rift Closed 9/24/2017 9:10 AM
      883305 Black screen on Mac build Closed 2/21/2017 8:20 AM
      832478 Can't open a project created with Unity 5.4 then opend with Unity 5.5b and reopend with Unity 5.4 Closed 9/16/2016 5:30 PM
      824672 Linux: Crashes when I click on the play button Closed 8/20/2016 8:00 AM
      811541 The editor crashes when I change the position of a GameObject Closed 7/5/2016 1:52 PM
      808087 Editor crashing after some seconds Closed 6/22/2016 7:37 PM
      791259 Crash when press play in the editor Open 4/24/2016 1:28 PM