# Unreal Engine 5 Only Crashes With VR Template

**URL:** <https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, UE5-0, bug-report, question\
**Created:** [April 9, 2022, 1:04am UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100 "2022-04-09T01:04:59Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![maxbrown](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maxbrown/32/1194506_2.png) [@maxbrown](https://forums.unrealengine.com/u/maxbrown)\
**Post date:** [April 22, 2022, 6:33pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/21 "2022-04-22T18:33:52Z")

</div>

> [@M0rph3u5\_UK](#):
>
> Hope they will fix it soon

If you look in the bug tracker (see link a few post more up) - it should be fixed now and in the next 5.0.2 update which hopefully will come soon™

---

<div class="post-metadata">

**Author:** ![Ekar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ekar](https://forums.unrealengine.com/u/Ekar)\
**Post date:** [April 23, 2022, 7:39am UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/22 "2022-04-23T07:39:13Z")

</div>

I just game here to say that I’m unable to get to the stage where I can get a new VR template project setup in UE5, there’s a crash before the new project has finished being created.

Anyone else getting this?

Edit: I also have the OpenXR Toolkit installed. When I disable this Unreal doesn’t crash when building a template VR project anymore.

---

<div class="post-metadata">

**Author:** ![jheaton1965](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jheaton1965/32/768926_2.png) [@jheaton1965](https://forums.unrealengine.com/u/jheaton1965)\
**Post date:** [April 30, 2022, 1:07am UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/23 "2022-04-30T01:07:38Z")

</div>

Unfortunately, it’s post-Upgrade 5.0.1, and the VR template is still at it. I’m experiencing failed assertions while building both materials and lighting. And it isn’t the install or my drivers. I’ve done a clean install and went so far as to DDU my GPU drivers and completely reinstall. Also, I’m able to build both materials and lighting just fine in a “blank project” with some props added. In fact, that might be my solution for now – build the game in a blank or FPS project, and add the VR controls using Blueprint.

---

<div class="post-metadata">

**Author:** ![Zied\_Lazrak](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zied_lazrak/32/477832_2.png) [@Zied\_Lazrak](https://forums.unrealengine.com/u/Zied_Lazrak)\
**Post date:** [May 4, 2022, 6:07pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/24 "2022-05-04T18:07:03Z")

</div>

Hi, do you have any tutorial or link that can help me setting up VR in a blank project ? Thank you !

---

<div class="post-metadata">

**Author:** ![M0rph3u5\_UK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/m0rph3u5_uk/32/899226_2.png) [@M0rph3u5\_UK](https://forums.unrealengine.com/u/M0rph3u5_UK)\
**Post date:** [June 1, 2022, 6:39pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/25 "2022-06-01T18:39:33Z")

</div>

Was hoping the VR template and material editor crashing will be resolved with the release of UE5.0.2 but it doesn’t seem to have been fixed.  
Probably if you are planning to work on a VR project stick with UE4.27 for a while ☹

---

<div class="post-metadata">

**Author:** ![maxbrown](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/maxbrown/32/1194506_2.png) [@maxbrown](https://forums.unrealengine.com/u/maxbrown)\
**Post date:** [June 1, 2022, 7:53pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/26 "2022-06-01T19:53:45Z")

</div>

Strange - I didn’t experience any material editor crashes in 5.02 anymore.

I do experience very frequent VR crashes with 5.02 though. First time launching in VR almost always works but a second time starting a VR preview very often crashes. Some openXR error. Submitted all the crashes so I guess Epics database is getting quite some entries from VR users in 5.02.

---

<div class="post-metadata">

**Author:** ![TheCFVH](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thecfvh/32/563752_2.png) [@TheCFVH](https://forums.unrealengine.com/u/TheCFVH)\
**Post date:** [June 28, 2022, 9:02pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/27 "2022-06-28T21:02:56Z")

</div>

I’m having similar issues (5.02) but in my case it only crashes when launching a packaged version. I know its related to the Headset (Vive) being plugged in because it launches without cashing when the headset is unplugged. Does anyone have this problem?

---

<div class="post-metadata">

**Author:** ![TheCFVH](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thecfvh/32/563752_2.png) [@TheCFVH](https://forums.unrealengine.com/u/TheCFVH)\
**Post date:** [June 29, 2022, 12:58am UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/28 "2022-06-29T00:58:07Z")

</div>

I just solved this issue by changing from DX12 to DX11. Works perfectly now

---

<div class="post-metadata">

**Author:** ![thejturner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thejturner](https://forums.unrealengine.com/u/thejturner)\
**Post date:** [July 4, 2022, 12:42am UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/29 "2022-07-04T00:42:24Z")

</div>

I have the same issue with my VIVE and used the same solution of switching to dx11.

---

<div class="post-metadata">

**Author:** ![Sweeeeeeex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sweeeeeeex](https://forums.unrealengine.com/u/Sweeeeeeex)\
**Post date:** [July 7, 2022, 3:04pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/30 "2022-07-07T15:04:32Z")

</div>

i confirm that switching to dx11 works, but in my case i need to have reflections and some ray trace effects, you can’t have them with dx11.

---

<div class="post-metadata">

**Author:** ![Digitalp2k](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/digitalp2k/32/499599_2.png) [@Digitalp2k](https://forums.unrealengine.com/u/Digitalp2k)\
**Post date:** [October 6, 2022, 12:54pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/31 "2022-10-06T12:54:22Z")

</div>

Hate to revive this, but I am running into this, HOW does one switch from DX12 to DX11, I am guessing running the engine .exe with -d3d11, then opening your project? I’m having mine crash on open. It’s driving me so crazy that I’m wanting to spam Epic with the bug reports and crash reports. I built my project from scratch and enabled plugins one-by-one and now it’s starting to kick me in the butt again.

---

<div class="post-metadata">

**Author:** ![Astrotronic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astrotronic/32/1194566_2.png) [@Astrotronic](https://forums.unrealengine.com/u/Astrotronic)\
**Post date:** [October 6, 2022, 5:35pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/32 "2022-10-06T17:35:07Z")

</div>

Hi Digitalp2k,

In yourprojectfolder/Config/DefaultEngine.ini try adding/changing

```auto
[/Script/WindowsTargetPlatform.WindowsTargetSettings]
DefaultGraphicsRHI=DefaultGraphicsRHI_DX12

```

to DX11

BUT FIRST

Try just disabling instanced stereo in that ini file

`vr.InstancedStereo=False`

ALSO

Consider trying the 5.1 preview. (And let me know if you are still crashing or if it is resolved)

---

<div class="post-metadata">

**Author:** ![jsfilmz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jsfilmz/32/1022034_2.png) [@jsfilmz](https://forums.unrealengine.com/u/jsfilmz)\
**Post date:** [October 8, 2022, 7:34am UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/33 "2022-10-08T07:34:14Z")

</div>

Steam VR still crashes with 5.1 preview when using DX12 ☹

---

<div class="post-metadata">

**Author:** ![Anthony\_Attwood](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anthony\_Attwood](https://forums.unrealengine.com/u/Anthony_Attwood)\
**Post date:** [October 16, 2022, 6:31pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/34 "2022-10-16T18:31:09Z")

</div>

Can confirm, this is driving me crazy and holding back the project a lot which needs to be done by end of Oct 😕

I need the dx12 features for VR and it only seems to be an issue with VR and DX12. Please look into this whoever can. Very important

---

<div class="post-metadata">

**Author:** ![jsfilmz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jsfilmz/32/1022034_2.png) [@jsfilmz](https://forums.unrealengine.com/u/jsfilmz)\
**Post date:** [October 21, 2022, 12:11pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/35 "2022-10-21T12:11:54Z")

</div>

Yea im abou to buy a quest 2 at this point just sucks i paid so much for my vive pro ☹

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f8197954](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f8197954](https://forums.unrealengine.com/u/anonymous_user_f8197954)\
**Post date:** [October 21, 2022, 5:05pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/36 "2022-10-21T17:05:18Z")

</div>

> thank you for the detail.

---

<div class="post-metadata">

**Author:** ![Aazmatazz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aazmatazz](https://forums.unrealengine.com/u/Aazmatazz)\
**Post date:** [December 19, 2022, 3:30am UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/37 "2022-12-19T03:30:24Z")

</div>

I wanted to revive this thread. UE 5.1 has been running sweet. In normal projects I can use Lumens, Nanite on DX12 and SM6 with no issues.  
As soon as I go into a VR project within UE5.1 the crashes start.  
Obviously I’m not using Lumens or Nanite with VR, but weirdly UE crashes without throwing up a crash report.

Is anyone else having this issue with 5.1?

---

<div class="post-metadata">

**Author:** ![Zeebiedeebie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zeebiedeebie](https://forums.unrealengine.com/u/Zeebiedeebie)\
**Post date:** [December 29, 2022, 2:50am UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/38 "2022-12-29T02:50:16Z")

</div>

I am having very similar problems, and they are very persistent.

I have tried updating my graphics drivers, swapping to dx11, reinstalling UE 5.1, unplugging and plugging everything back in, and reinstalling windows before trying those steps (and more) again.

The behavior does not change. I get very inconsistent results when attempting stereo rendering in the VR template, and in a blank project. These results are mostly crashes with no report generated. Occasionally, another report will generate. Other times, certain shaders fail to load. The strangest result was a mostly successful render to my HMD, which was only unworkable because the world was upside down.

I hope I’m missing something basic, but it seems like my UE is very haunted and I must wait for a fix. I have not tried on another computer, because I don’t have access to another one with a DP port to plug in my HMD.

I will be borrowing an Oculus Quest and trying on another computer soon.

---

<div class="post-metadata">

**Author:** ![WWarlock](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WWarlock](https://forums.unrealengine.com/u/WWarlock)\
**Post date:** [January 17, 2023, 4:01am UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/39 "2023-01-17T04:01:20Z")

</div>

Same trouble with UE 5.1 on MacOS and Macbook M1 Pro.  
UE 5.1 is crashing while creating or loading VR projects.  
UE 5.0 made the project, even deployed it on Oculus Quest 2, but application hanged while starting on the device.  
I thought that upgrading UE will solve this trouble but no, it much worse.

---

<div class="post-metadata">

**Author:** ![Savayman10](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Savayman10](https://forums.unrealengine.com/u/Savayman10)\
**Post date:** [July 21, 2023, 1:04pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/40 "2023-07-21T13:04:41Z")

</div>

I’ve tried opening a VR project created with UE 5.1 on UE 5.2, but nothing changes.  
And I know in advance that the opened project will crash, because the opening is delayed on “75% initializing” and every time it does it on UE 5.2 and the software crashes.  
On UE 5.1, on the other hand, opening the file doesn’t linger on “Initializing”.  
I’ve tried opening a VR project created with UE 5.1 on UE 5.2, but nothing changes.  
And I know in advance that the opened project will crash, because the opening is delayed on “75% initializing” and every time it does it on UE 5.2 and the software crashes.  
On UE 5.1, on the other hand, opening the file doesn’t linger on “Initializing”.

LoginId:9bb293fc485cd012e2748fbf79f85545  
EpicAccountId:298ce7e84f40438e818d829bfcf511f5

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

 ![photo_2023-07-21_09-12-24](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/a/32a4dca2d6d27ad1be033d368df1e8e7e7d8c401.jpeg)

[Previous page](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100.md?page=1)

[Next page](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100.md?page=3)
