# 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:** 1

<div class="post-metadata">

**Author:** ![K9Cubed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/k9cubed/32/915896_2.png) [@K9Cubed](https://forums.unrealengine.com/u/K9Cubed)\
**Post date:** [April 9, 2022, 1:04am UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/1 "2022-04-09T01:04:59Z")

</div>

So as the title says, I’ve had no issues with unreal 5 thus far. However, it seems inside of vr projects, if i try to make a material, simple material with a simple texture node or even just a constant color, if i move any node it hard crashes the engine. Here is the error I get. Is this a known issue?

I’ve tried a fresh Unreal 5 install, fresh vr project, no luck, anything with the VR template just crashes immediately in editor, not even with anything to do with playing in vr  
Assertion failed: CurrentGPUVirtualAddress != 0 [File:D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12DescriptorCache.cpp] [Line: 729]

---

<div class="post-metadata">

**Author:** ![QubaXR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/qubaxr/32/471864_2.png) [@QubaXR](https://forums.unrealengine.com/u/QubaXR)\
**Post date:** [April 9, 2022, 9:24pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/2 "2022-04-09T21:24:18Z")

</div>

I wish I had a solution for you - I don’t.

Just posting here to confirm I am having exactly the same problem. Adding a new material is fine, but as soon as I create a color (3-vector) node in its graph, UE5 hard crashes.

---

<div class="post-metadata">

**Author:** ![QubaXR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/qubaxr/32/471864_2.png) [@QubaXR](https://forums.unrealengine.com/u/QubaXR)\
**Post date:** [April 9, 2022, 9:35pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/3 "2022-04-09T21:35:08Z")

</div>

It’s ridiculous to call it a “fix” but I managed to avoid having crashes by:

1. Turning off all other target platform
2. Switching rendering from DX12 to Volkan.

It chugs on, but hardly projects confidence.

---

<div class="post-metadata">

**Author:** ![885Volt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@885Volt](https://forums.unrealengine.com/u/885Volt)\
**Post date:** [April 10, 2022, 1:30pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/4 "2022-04-10T13:30:52Z")

</div>

I can confirm this too. I had like 50 crashes the last 3 days. I tried to recreate the template but I got even more crashes ( controller position errors …. teleporting to infinity)  
For the moment I will continue with 4.27.

---

<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 10, 2022, 1:30pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/5 "2022-04-10T13:30:53Z")

</div>

Same problem - you’re right - it only crashes with VR projects. Creating a brand new 3rd person 5.0 project and you can create a material with a texture / constant 3 vectors without crashing. Reported @ Bugreport

---

<div class="post-metadata">

**Author:** ![cheesyball232](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cheesyball232](https://forums.unrealengine.com/u/cheesyball232)\
**Post date:** [April 10, 2022, 2:52pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/6 "2022-04-10T14:52:14Z")

</div>

Temporary fix seems to be setting the Graphics API to anything but DirectX12 (tested with DirectX 11 and it seems to work fine now).

---

<div class="post-metadata">

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

</div>

Have the exact same issue. Started several new VR Templates with Unreal Engine 5 and each time I add a node to a newly created material the editor hard crashes. This issue from 2019, although fixed, seems very similar to my observations: [Unreal Engine Issues and Bug Tracker (UE-73255)](https://issues.unrealengine.com/issue/UE-73255)

A crash report directly after creating a VectorParameter for example looks like this:

LoginId:13419cc340b8c75826016d94dd98d76b  
EpicAccountId:

Assertion failed: CurrentGPUVirtualAddress != 0 [File:D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12DescriptorCache.cpp] [Line: 729]

UnrealEditor\_D3D12RHI  
UnrealEditor\_D3D12RHI  
UnrealEditor\_D3D12RHI  
UnrealEditor\_RHI  
UnrealEditor\_Renderer  
UnrealEditor\_RHI  
UnrealEditor\_RHI  
UnrealEditor\_RHI  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_RenderCore  
UnrealEditor\_Core  
UnrealEditor\_Core  
kernel32  
ntdll

---

<div class="post-metadata">

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

</div>

Thanks for figuring out a work-around. This was driving me crazy.

---

<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 12, 2022, 11:17am UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/9 "2022-04-12T11:17:36Z")

</div>

> [@HFSquadraCorse](#):
>
> Thanks for figuring out a work-around.

Reverting to DX11 isn’t really a viable workaround imho. You miss out on GPUlightmass and lots of the UE5.0 goodies. Crossing fingers it gets fixed soon™

---

<div class="post-metadata">

**Author:** ![Araeos42](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Araeos42](https://forums.unrealengine.com/u/Araeos42)\
**Post date:** [April 14, 2022, 12:08pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/10 "2022-04-14T12:08:24Z")

</div>

Well, you could use Vulkan, which worked well for me, except that the Quest 2 Link connection is full of artifacts (does not happen when I shove SteamVR in between UE5 and the Quest 2 Link). If that is not an option for you, then maybe using DX12 and disabling “Instanced-Stereo” and “Mobile Multi-View” until the crash is properly fixed could work.

---

<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 15, 2022, 2:33pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/11 "2022-04-15T14:33:20Z")

</div>

> [@Araeos42](#):
>
> using DX12 and disabling “Instanced-Stereo” and “Mobile Multi-View” until the crash is properly fixed could work.

that actually could work for me so I could continue working on the project and test it in VR once its fixed again. Thanks for the suggestion.

---

<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 16, 2022, 9:12am UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/12 "2022-04-16T09:12:25Z")

</div>

Bug is now visible in the bug tracker - vote here [Unreal Engine Issues and Bug Tracker (UE-148100)](https://issues.unrealengine.com/issue/UE-148100)

---

<div class="post-metadata">

**Author:** ![biXen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@biXen](https://forums.unrealengine.com/u/biXen)\
**Post date:** [April 16, 2022, 9:02pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/13 "2022-04-16T21:02:16Z")

</div>

Tried the workaround (turning off instanced stereo), only afterwards saw the bug report mentions opening the project afterwards doesn’t work. Doh! Well I still have some prototyping to do in Blender I guess.

---

<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 18, 2022, 10:05am UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/14 "2022-04-18T10:05:53Z")

</div>

@biXen You can fix this ‘afterwards not opening bug’ by going to the config folder and edit the DefaultEngine.ini. Change the false to true in the line with `vr.InstancedStereo=True`

---

<div class="post-metadata">

**Author:** ![robirobi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/robirobi/32/485759_2.png) [@robirobi](https://forums.unrealengine.com/u/robirobi)\
**Post date:** [April 18, 2022, 2:56pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/15 "2022-04-18T14:56:37Z")

</div>

Mine crashes while building lighting. I can only get around a crash when a level is empty.

---

<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 18, 2022, 3:09pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/16 "2022-04-18T15:09:25Z")

</div>

> [@robirobi](#):
>
> Mine crashes while building lighting

That issue is also in the same bug tracker - vote here [Unreal Engine Issues and Bug Tracker (UE-148100)](https://issues.unrealengine.com/issue/UE-148100)

---

<div class="post-metadata">

**Author:** ![robirobi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/robirobi/32/485759_2.png) [@robirobi](https://forums.unrealengine.com/u/robirobi)\
**Post date:** [April 18, 2022, 3:26pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/17 "2022-04-18T15:26:13Z")

</div>

Yeah, I saw that and did cast my vote.

I hope it won’t take months to fix it.

---

<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:** [April 21, 2022, 9:30pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/18 "2022-04-21T21:30:36Z")

</div>

This is exactly what I encountered as well but I actually reported this to Quixel since I thought it was related to Bridge. Who then directed me to this thread.

I was also using a VR template and trying to create my own materials using textures brought to the project through the builtin Bridge; however, as soon as I dragged the texture from the content browser to the material window, UE5 crashed… and repeatedly, I even created a fresh VR template and tried it again and it just kept crashing.  
Had to revert to UE4 eventually with standalone bridge.  
I was planning to add parallax occlusion or bump offset using custom material since normal maps are useless in VR if you’re too close to them.  
I was really hoping that the issue was resolved with UE 5.0.1 update, but it hasn’t.

---

<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, 12:27pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/19 "2022-04-22T12:27:42Z")

</div>

@M0rph3u5_UK As a workaround you could temporary create a first person project in UE5 and create your materials there and - after its finished - migrate it to your VR project. Not ideal but like that you could continue to work in UE5.

---

<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:** [April 22, 2022, 6:25pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-only-crashes-with-vr-template/521100/20 "2022-04-22T18:25:50Z")

</div>

@maxbrown thanks for your reply, I already did that (with third person template) shortly after leaving my original comment in this thread and it did indeed work, and even after I added the VR template, I was able to create materials initially with no issues but after a while it started crashing again.

I will probably need to avoid using materials for now as I am trying to prototype a level utilising the new modelling toolkit and need to run it in VR periodically to adjust the scale.  
Hope they will fix it soon.  
Thanks

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