# Error when launching Engine.

**URL:** <https://forums.unrealengine.com/t/error-when-launching-engine/1181504>\
**Category:** XR Development\
**Tags:** unreal-engine, question\
**Created:** [May 28, 2023, 6:48pm UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504 "2023-05-28T18:48:48Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maghton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maghton](https://forums.unrealengine.com/u/Maghton)\
**Post date:** [May 28, 2023, 6:48pm UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/1 "2023-05-28T18:48:48Z")

</div>

Hello,

When I try to start the Engine Iit crashes and gives me following Error. Does anybody why?

Assertion failed: ((Result) \>= 0) [File:D:\build++UE5\Sync\Engine\Plugins\Runtime\OpenXR\Source\OpenXRHMD\Private\OpenXRCore.cpp] [Line: 24]

UnrealEditor\_OpenXRHMD  
UnrealEditor\_OpenXRInput  
UnrealEditor\_OpenXRInput  
UnrealEditor\_Core  
UnrealEditor\_Projects  
UnrealEditor\_Projects  
UnrealEditor\_Projects  
UnrealEditor  
UnrealEditor\_UnrealEd  
UnrealEditor  
UnrealEditor  
UnrealEditor  
UnrealEditor  
UnrealEditor  
kernel32  
ntdll

---

<div class="post-metadata">

**Author:** ![SuperDuperLSdev](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/superduperlsdev/32/979968_2.png) [@SuperDuperLSdev](https://forums.unrealengine.com/u/SuperDuperLSdev)\
**Post date:** [June 13, 2023, 2:54am UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/2 "2023-06-13T02:54:00Z")

</div>

Having the same issue here; have you found a workaround or fix yet?

---

<div class="post-metadata">

**Author:** ![Maghton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maghton](https://forums.unrealengine.com/u/Maghton)\
**Post date:** [June 17, 2023, 4:18pm UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/3 "2023-06-17T16:18:27Z")

</div>

Yes I have. For me it worked when changing the OpenXR-Environment variable.  
I downloaded OpenXR-Explorer and set it to WMR manually.

Then the engine can open again. After that I manually reassign my OpenXR-Environment variable to SteamVR again.

Let me know if it worked for you.

---

<div class="post-metadata">

**Author:** ![patrickzw](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@patrickzw](https://forums.unrealengine.com/u/patrickzw)\
**Post date:** [July 6, 2023, 4:17am UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/4 "2023-07-06T04:17:38Z")

</div>

Hi, thanks for your answer, changed to WMR fixes the same problem I met. But I saw that there is no SteamVR option for me, only WMR. Can I ask how to switch back to SteamVR?

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/d/4/ed43818e7d5ae222b33adbd022d328e78ad473e1.png)

---

<div class="post-metadata">

**Author:** ![Rectus\_SA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rectus\_SA](https://forums.unrealengine.com/u/Rectus_SA)\
**Post date:** [July 6, 2023, 11:08am UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/5 "2023-07-06T11:08:51Z")

</div>

If it doesn’t appear in the list, the easiest option is to go to the SteamVR settings, and it should have an OpenXR tab with a button to set the runtime.

---

<div class="post-metadata">

**Author:** ![patrickzw](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@patrickzw](https://forums.unrealengine.com/u/patrickzw)\
**Post date:** [July 11, 2023, 2:36am UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/6 "2023-07-11T02:36:13Z")

</div>

Thank you, it helps a lot

---

<div class="post-metadata">

**Author:** ![Kabassmusic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kabassmusic](https://forums.unrealengine.com/u/Kabassmusic)\
**Post date:** [July 12, 2023, 1:24am UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/7 "2023-07-12T01:24:45Z")

</div>

This helps. But after switching to SteamVR, it needs to be changed to WMR every time if I want to open my project now.

---

<div class="post-metadata">

**Author:** ![IceManElosi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IceManElosi](https://forums.unrealengine.com/u/IceManElosi)\
**Post date:** [July 15, 2023, 4:00am UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/8 "2023-07-15T04:00:13Z")

</div>

For me, I use Quest 2 with Virtual Desktop, and simply just going into the oculus desktop program and going into settings and setting the default xr runtime to oculus fixed it. Not sure why, but it fixed it.

---

<div class="post-metadata">

**Author:** ![Dapper\_Dawg](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dapper_dawg/32/730863_2.png) [@Dapper\_Dawg](https://forums.unrealengine.com/u/Dapper_Dawg)\
**Post date:** [July 21, 2023, 7:08am UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/9 "2023-07-21T07:08:16Z")

</div>

Well that fixed it. I have no idea why this started happening for me…

---

<div class="post-metadata">

**Author:** ![Field\_Marshall](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Field\_Marshall](https://forums.unrealengine.com/u/Field_Marshall)\
**Post date:** [July 29, 2023, 1:48pm UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/10 "2023-07-29T13:48:35Z")

</div>

I had the same issue. This seems to be a bug in 5.2.

---

<div class="post-metadata">

**Author:** ![S-ed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/s-ed/32/1194558_2.png) [@S-ed](https://forums.unrealengine.com/u/S-ed)\
**Post date:** [August 16, 2023, 11:39am UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/11 "2023-08-16T11:39:26Z")

</div>

So far there is no “proper” solution. The issues is related to HMD Headset/Controllers not connected on OpenXR init.  
You still can run project with OpenXR plugin Enabled without HMD attached by using `-nohmd` parameter.  
Create the shortcut to your `UnrealEditor.exe`, then add path to project and `-nohmd`.  
Like:

> C:\UnrealEngine\Engine\Binaries\Win64\UnrealEditor.exe d:\MyAmazingProject\MyProject.uproject -nohmd

---

<div class="post-metadata">

**Author:** ![MyckeeG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MyckeeG](https://forums.unrealengine.com/u/MyckeeG)\
**Post date:** [October 12, 2023, 1:08pm UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/12 "2023-10-12T13:08:40Z")

</div>

Amazing fix, thank you so much!

---

<div class="post-metadata">

**Author:** ![unrealengine123](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@unrealengine123](https://forums.unrealengine.com/u/unrealengine123)\
**Post date:** [October 17, 2023, 11:25am UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/13 "2023-10-17T11:25:32Z")

</div>

I realised i had my quest 2 connected just to transfer some video files off it. So i just disconnected the cable and the problem went away. - Im sure this will be an issue soon tho once i start to develop for VR. but for now… a quick and easy fix

---

<div class="post-metadata">

**Author:** ![r0dl4b](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/r0dl4b/32/813366_2.png) [@r0dl4b](https://forums.unrealengine.com/u/r0dl4b)\
**Post date:** [December 2, 2023, 6:50am UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/14 "2023-12-02T06:50:47Z")

</div>

It works!!!, PICO 4 , UE 5.2.1!

---

<div class="post-metadata">

**Author:** ![EggSuccer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EggSuccer](https://forums.unrealengine.com/u/EggSuccer)\
**Post date:** [November 5, 2024, 3:46pm UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/15 "2024-11-05T15:46:35Z")

</div>

For those just finding this, the problem occured because I downgraded the DX version to DX11 for a different issue, and had to reupgrade to DX12 to fix this one. It was in the DefaultEngine.ini document.

---

<div class="post-metadata">

**Author:** ![Rie2250704004](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rie2250704004](https://forums.unrealengine.com/u/Rie2250704004)\
**Post date:** [January 25, 2025, 12:11pm UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/16 "2025-01-25T12:11:23Z")

</div>

![no_WMR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/b/35bc58ba45249a7a1ea778653a06e6b328ad68e0.jpeg)  
Why is there only change Runtime but no WMR option in my OpenXR Explorer?

---

<div class="post-metadata">

**Author:** ![Rectus\_SA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rectus\_SA](https://forums.unrealengine.com/u/Rectus_SA)\
**Post date:** [January 26, 2025, 12:13am UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/17 "2025-01-26T00:13:51Z")

</div>

What OS version are you using? The WMR runtime was removed from Windows 11 Version 24H2.

---

<div class="post-metadata">

**Author:** ![Rie2250704004](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rie2250704004](https://forums.unrealengine.com/u/Rie2250704004)\
**Post date:** [February 11, 2025, 5:35pm UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/18 "2025-02-11T17:35:42Z")

</div>

win10 21H2

---

<div class="post-metadata">

**Author:** ![Rectus\_SA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rectus\_SA](https://forums.unrealengine.com/u/Rectus_SA)\
**Post date:** [February 11, 2025, 6:51pm UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/19 "2025-02-11T18:51:23Z")

</div>

Microsoft has an utility that lets you set the runtime back to WMR:

> **[OpenXR Tools for Windows Mixed Reality - Free download and install on Windows...](https://apps.microsoft.com/detail/9n5cvvl23qbt?hl=en-us&gl=US)**
>
> Change Mixed Reality OpenXR runtime settings, enable preview features, inspect the active OpenXR runtime status, and run a demo scene to ensure OpenXR runtime and devices are working properly.

---

<div class="post-metadata">

**Author:** ![WritenFuture](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WritenFuture](https://forums.unrealengine.com/u/WritenFuture)\
**Post date:** [February 3, 2026, 5:18am UTC](https://forums.unrealengine.com/t/error-when-launching-engine/1181504/20 "2026-02-03T05:18:34Z")

</div>

I had the same issue on Linux. I had to update and set monado as my runtime (same process but select Monado not WMS) then make sure the monado.service deamon was running. I also made sure to set the XR\_RUNTIME\_JSON env variable to /usr/share/openxr/monado.json once updated and running.
