OpenXR crashes WMR Headset after latest update

fagerbur 26 Reputation points
2021-08-20T16:33:25.09+00:00

After the latest update to the WMR openxr runtime, running anything OpenXR (Unity and OpenXR developer tools for WMR) causes the headset to crash and restart. Using an Asus WMR headset on Windows 10 Build 19402.
Testing using Unity 2020.3 and OpenXR Developer Tools for WMR 108.2108.12003.0
OpenXR for Windows Mixed Reality 107.2108.5003.0

Error message from OpenXR Developer Tools for WMR
Unknown OpenXR Runtime
Exception XrResult failure [XR_ERROR_LIMIT_REACHED]
Origin: xrCreateInstance(&createInfo, instance.Put())

Is anyone else running into this issue? I'm not really sure how to troubleshoot it as I don't know where the error logs are, could someone help me find them or maybe there is a way to remove and reinstall the runtime and that will fix it? Using the headset through steamvr's openxr runtime still works fine.

tagged as hololens because I couldn't find an xr one.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,171 questions
{count} votes

2 answers

Sort by: Most helpful
  1. mbucchia-msft 1 Reputation point
    2021-09-21T22:47:19.97+00:00

    Hello @fagerbur ,

    I'm Matt from the OpenXR team at Microsoft.

    I apologize for not seeing your thread earlier.

    The XR_ERROR_LIMIT_REACHED is likely not the cause of your issue, but rather a consequence. Once you click the "Launch OpenXR demo scene" button from the Home tab, this error may appear in the System Status tab because two pieces of code a competing for the device. So I will not focus on this error, but instead I will try to help you get more details.

    Here is something you can do in order to view more detailed logs:

    • Enable the Device Portal: https://learn.microsoft.com/en-us/windows/uwp/debug-test-perf/device-portal-desktop#set-up-windows-device-portal-on-a-desktop-device
    • Close the Mixed Reality Portal and the OpenXR Developer Tools. We want to start fresh before reproducing your issue with the logging enabled.
    • Open the Device Portal.
    • Navigate to the ETW logging page.
    • In the Custom providers section, enter the following GUID: 72E9B8D0-434D-4F50-9DCC-E6DFC9DF2B63. Select 5: Detailed trace.
    • Click Enable.
    • Reproduce the issue: start the OpenXR Developer Tools, make sure the Windows Mixed Reality runtime is active (click "Set as active runtime" under Installation status if needed), and click "Launch OpenXR demo scene".
    • After the crash is reproduced, go back to the Device Portal, and in Enabled providers, click Stop All.
    • In the Events section at the bottom, you can see the logged events. You may click Save to file to retrieve them as a CSV file.

    Please share this file with me so I can try to identify your issue. Thanks!


  2. Johnathon Brown 1 Reputation point
    2021-10-24T08:50:31.41+00:00

    I am not a regular poster here, but I wanted to confirm this issue is happening on Windows 11 Build 21H2 as well with OpenXR Developer Tools version 108.2109.21002.0

    CPU: AMD 5900HX w/Vega iGPU
    GPU: RTX 3060 (mobile)

    I recently upgraded from Windows 10 to Windows 11. I have also uninstalled and reinstalled WMR.

    OpenXR apps will open with SteamVR set as the OpenXR runtime with WMR for SteamVR installed.

    With Windows Mixed Reality set as OpenXR runtime, I'm getting the same "XR_ERROR_LIMITED_REACHED" error in the OpenXR Developer Tools when attempting to run the demo scene.

    I encountered this issue as I recently purchased MS Flight Simulator. VR works with SteamVR set as the OpenXR runtime. However, with Windows Mixed Reality as the runtime, it plays the app starting animation and goes to a black screen with no tracking being sent to MSFS. When the black screen is present, the WMR start overlay still works, etc. Turning VR mode off in MSFS returns the HMD to Cliffhouse.

    I hope this helps describe the issue and show it isn't affecting only one user.

    Edit 1: Added Developer Tool version

    Edit 2: Added hardware details.