# Constant D3D crashes

**URL:** <https://forums.unrealengine.com/t/constant-d3d-crashes/563570>\
**Category:** Getting Started & Setup\
**Tags:** error, unreal-engine, crash, UE5-0, editor, question\
**Created:** [May 22, 2022, 4:55pm UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570 "2022-05-22T16:55:08Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deeks1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deeks1987](https://forums.unrealengine.com/u/Deeks1987)\
**Post date:** [May 22, 2022, 4:55pm UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/1 "2022-05-22T16:55:08Z")

</div>

Hi , I am trying to build a small enviroment and am not even done making landscape and i have had about 25 D3D crashes. as advised i used DDU gpu driver remover and reinstalled. i have a powerfull PC AND NO OTHER ISSUES OUTSIDE OF ue5. Just need some advice on this error. thanks

---

<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:** [May 22, 2022, 6:07pm UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/2 "2022-05-22T18:07:58Z")

</div>

You need to post a crash stack here. Or log if you have one.  
Cause it’s almost not possible to answer w/o having any clues.  
It may be TDR error, or any other issue.

---

<div class="post-metadata">

**Author:** ![Deeks1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deeks1987](https://forums.unrealengine.com/u/Deeks1987)\
**Post date:** [May 22, 2022, 9:25pm UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/3 "2022-05-22T21:25:57Z")

</div>

Ill load up and wait for another crash. And ill post them. I read a post elsewhere that showed this was a problem with certain gpus in ue4 but the bug reports shows it as resolved, however the solution suggested did not work.

---

<div class="post-metadata">

**Author:** ![alberto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alberto/32/1194695_2.png) [@alberto](https://forums.unrealengine.com/u/alberto)\
**Post date:** [May 22, 2022, 11:29pm UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/4 "2022-05-22T23:29:57Z")

</div>

There are a lot of people asking about D3D crashes,  
please add more details… and a screenshot…

I think you are talking about this, I hope it helps:

> [@Gpu crash/d3d device removed error?](https://forums.unrealengine.com/t/gpu-crash-d3d-device-removed-error/514360/46):
>
> But tell me, which settings do you have? are you using Virtual Textures? Raytracing, Lumen, Path tracing? Cinematic settings?.. What about trying same in ue4? Perhaps…

---

<div class="post-metadata">

**Author:** ![Deeks1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deeks1987](https://forums.unrealengine.com/u/Deeks1987)\
**Post date:** [May 23, 2022, 1:08pm UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/5 "2022-05-23T13:08:49Z")

</div>

UE4 is fine with exact same project, i do assume lumen is active yes as i follow this tutorial [Unreal Engine 5 Beginner Tutorial - UE5 Starter Course! - YouTube](https://youtu.be/gQmiqmxJMtA). not sure wht path tracing is so if its off by default then no. no cinematics. i turned project settings down to lowest. i am starting more course work today s as soon as it crashes ill post rpt logs. i went to uni this morning and about 4 other students told me they also have same issues d3d crash and have reverted back to ue4. unfortuantly my course work i need to work in nanite as this was part of my dissertation so i dont have luxury of using ue4. i guess i could build the game in ue4 bnut would rather use ue5.

 ![11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/e/23e76582bfd7e74ab944520691f71829125bbd35.jpeg)  
Its so far just a simple landscape with some trees and rocks nothing too intensive. so not sure wht is causing it.

---

<div class="post-metadata">

**Author:** ![Deeks1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deeks1987](https://forums.unrealengine.com/u/Deeks1987)\
**Post date:** [May 23, 2022, 1:15pm UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/6 "2022-05-23T13:15:29Z")

</div>

10 min in and boom  
[UECC-Windows-F7158DBC45258562EF69ECB3B8028AC6\_0001.rar](https://forums.unrealengine.com/uploads/short-url/4aUnKzC2q6Vz17og6H7BuVZxsE8.rar) (167.0 KB)

I have logged a Bug report since am convinved not on my end with others in my class having same issue. is there an older version of engine might be better to try?

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

---

<div class="post-metadata">

**Author:** ![alberto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alberto/32/1194695_2.png) [@alberto](https://forums.unrealengine.com/u/alberto)\
**Post date:** [May 23, 2022, 1:42pm UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/7 "2022-05-23T13:42:38Z")

</div>

Ok, we are talking about ultra cinematic realistic settings… while we are editing, adding, removing,…

At this point of the project what matters is to be comfortable, and it doesnt means ugly at all! And there is a lot of variables…

May I suggest somtehing?

Take a look in the marketplace and find: MW Birch Trees Forest Biome  
Amazing isn’t?

well here you have the whole settings:  
[https://www.mawiunited.com/support/bhf/DefaultEngine.ini](https://www.mawiunited.com/support/bhf/DefaultEngine.ini)

Juat make a copy of yours and try

Enjoy 😉

---

<div class="post-metadata">

**Author:** ![Deeks1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deeks1987](https://forums.unrealengine.com/u/Deeks1987)\
**Post date:** [May 24, 2022, 8:28am UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/8 "2022-05-24T08:28:33Z")

</div>

Its a fantastic asset pack ,unfortunatly it is not somthing i can spend RN i can only work with free assets at. ty for advice i logged a bug report to EG hopefully in future update it gets fixed whatever the issue is.

---

<div class="post-metadata">

**Author:** ![enrico.lapponi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@enrico.lapponi](https://forums.unrealengine.com/u/enrico.lapponi)\
**Post date:** [May 24, 2022, 8:53am UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/9 "2022-05-24T08:53:14Z")

</div>

Hi,  
you can try to follow the fix explained here in the documentation:

> **[How to Fix a GPU Driver Crash](https://docs.unrealengine.com/5.0/en-US/how-to-fix-a-gpu-driver-crash-when-using-unreal-engine/)**
>
> Learn how to fix a GPU driver crash in Windows by editing your registry keys.

As others suggested, it seems to be related to TDR errors, due to a mix of NVIDIA drivers, and DirectX APIs

---

<div class="post-metadata">

**Author:** ![alberto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alberto/32/1194695_2.png) [@alberto](https://forums.unrealengine.com/u/alberto)\
**Post date:** [May 24, 2022, 9:45am UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/10 "2022-05-24T09:45:19Z")

</div>

Noo I mean, just use the settings for your project!  
[https://www.mawiunited.com/support/bhf/DefaultEngine.ini](https://www.mawiunited.com/support/bhf/DefaultEngine.ini)

---

<div class="post-metadata">

**Author:** ![Deeks1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deeks1987](https://forums.unrealengine.com/u/Deeks1987)\
**Post date:** [May 24, 2022, 11:43am UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/11 "2022-05-24T11:43:59Z")

</div>

I have updated the ini file to use this hopes this help thanks , also made the 2 reg keys as reccomended above.

---

<div class="post-metadata">

**Author:** ![Deeks1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deeks1987](https://forums.unrealengine.com/u/Deeks1987)\
**Post date:** [May 24, 2022, 12:09pm UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/12 "2022-05-24T12:09:45Z")

</div>

unfortuntaly this makes the entire project black with no shaders.

---

<div class="post-metadata">

**Author:** ![Deeks1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deeks1987](https://forums.unrealengine.com/u/Deeks1987)\
**Post date:** [May 24, 2022, 12:43pm UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/13 "2022-05-24T12:43:05Z")

</div>

neither the ini fix or the 2 reg key fix has worked still getting a crash every 10 min or so.

---

<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:** [May 25, 2022, 10:57am UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/14 "2022-05-25T10:57:43Z")

</div>

DXGI\_ERROR\_DEVICE\_HUNG is a common driver issue. (in worst case it’s GPU hardware issue)

---

<div class="post-metadata">

**Author:** ![Deeks1987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deeks1987](https://forums.unrealengine.com/u/Deeks1987)\
**Post date:** [May 25, 2022, 1:10pm UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/15 "2022-05-25T13:10:22Z")

</div>

I am confident its not a hardware issue on my end. i have post on UE5 facebook and about 8 others have same issue, theres open bug on the dev forums for D3D issues, theres 4 or 5 other students in my uni class with same error. well thanks to this stupid error am possibly going to fail one module as i tested the engine for 2 weeks prior to my unit starting to avoid these issues. during my stress testing everything was fine and now half way through my project its a dead engine for me. and since my project has to include nanite and lumen am screwd lol its due Monday haha

---

<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:** [May 25, 2022, 2:16pm UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/16 "2022-05-25T14:16:22Z")

</div>

What hardware is used on those PCs, which drivers? Was TDR fix applied?

---

<div class="post-metadata">

**Author:** ![alberto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alberto/32/1194695_2.png) [@alberto](https://forums.unrealengine.com/u/alberto)\
**Post date:** [May 25, 2022, 3:13pm UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/17 "2022-05-25T15:13:09Z")

</div>

Copy/paste:

There is a lot of “possible solutions” but in the end William knows why

[William Fix](https://www.youtube.com/watch?v=CRnd513xWLk&ab_channel=WilliamFaucher)

What I understand is we are trying to check lumen, virtual textures, raytracing, patchtracing and whatever it sound good to us, and…  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/9/e/b9eb19cf6e9dd6f2351e614acb816b44b15f8602.jpeg)

Take a look to this one, i did download for ue5 and never crashes to me, and is amazing:

[Quixel abandoned apartment](https://youtu.be/WqTf4zzWkCU)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/f/f/bff8d4d27839f0560113a2184cb8b07151a8d857.jpeg)

So what I did is to download some projects I like… and copy/paste settings!! 😃

---

<div class="post-metadata">

**Author:** ![F1nik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@F1nik](https://forums.unrealengine.com/u/F1nik)\
**Post date:** [November 9, 2022, 12:50pm UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/18 "2022-11-09T12:50:24Z")

</div>

I have completely resolved my issue by using GPU underviolting without loosing performance (the main resolver) + Nvidia Studio drivers (seems like it is more stable then Game drivers):

Here is the video:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/0/c70619b30a9e39becee7cb7ee1cd1e63801c8f43.jpeg "[Fix] GPU Crash Error or D3D Device Removed in Unreal Engine (Nvidia 30 series)") ](https://www.youtube.com/watch?v=4NJsEzMkdWo)

---

<div class="post-metadata">

**Author:** ![alberto](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alberto/32/1194695_2.png) [@alberto](https://forums.unrealengine.com/u/alberto)\
**Post date:** [November 26, 2022, 2:26am UTC](https://forums.unrealengine.com/t/constant-d3d-crashes/563570/19 "2022-11-26T02:26:49Z")

</div>

Reinstall the video drivers with clean installation!
