# Unreal Engine is exiting due to D3D device being lost Unreal 4.27 and 5.1.1

**URL:** <https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036>\
**Category:** Feedback & Requests\
**Tags:** UE-5, unreal-engine, crash, bug-report, editor, question\
**Created:** [April 13, 2023, 4:11pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036 "2023-04-13T16:11:31Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roadified](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roadified/32/566435_2.png) [@Roadified](https://forums.unrealengine.com/u/Roadified)\
**Post date:** [April 13, 2023, 4:11pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036/1 "2023-04-13T16:11:31Z")

</div>

Hi,  
no need to mention this error, but it is still here in Unreal 5.1.1  
9999 people asked for the fix.

Unreal Engine is exiting due to D3D device being lost

It is marked as fixed in UE4, but it is not. I have this crash in 5.1.1 and 4.27.2 in two different PCs.

Did anyone ever found a fix?

I tried everything that is in Unreal forums and all relevant things that I found:

1 Disable battery boost in Nvidia - nope, I use stationary PCs  
2 Added registry entries of tdrddidelay and tdrdelay  
3 Update, reinstall, roll back Nvidia drivers  
4 Studio vs game ready drivers  
5 Disable raytracing  
6 Running editor in “windowed” mode  
7 Disabled antivirus  
8 I have no integrated GPU, so disabling it is not an option  
9 Running in DirectX 11 and 12  
10 [[FIXED] Fatal error: Unreal Engine is exiting due to D3D device being lost](https://www.pizzolab.com/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x0-s_ok-in-ue-4-26-1-and-4-27/#How_to_FIX_the_Unreal_Engine_is_exiting_due_to_D3D_device_being_lost_crash)  
11 Reinstalled to Windows 11 from 10 (clean install)  
12 Changed GPU. Went from 3070ti to 3060  
13 crashes in new project, new level and default-engine-assets  
14 not related to single or multi screen setup  
15 not overclocking of the hardware - everything is default

 ![Unreal d11 crash](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/2/fe2256aa8c6304f5111e05546d86b9632bd40790.jpeg)

I experience this crash ~50 times a day, and it takes at least 1 hour of time, to recover from crash or reimport whatever I was trying to import. I do not need to do anything, and Unreal just crashes randomly, I can just look at the screen, without any computation in, or interaction and I know 100% that it will crash at some point.

System specs:  
CPU - AMD Ryzen 9 3950X 16-Core Processor, 3500 Mhz, 16 Core(s), 32 Logical Processor(s)  
GPU - Nvidia GeForce RTX 3070 Ti 8gb  
Ram ~64gb

Edit: tried 9th option.  
Edit: not related to DirectX, crashes on both 11 and 12.  
Edit: tried 10th option, adding another registry key, still crashes  
Edit: 11th step reinstalled to Windows 11  
Edit: 12th step new GPU  
Edit: 13th, not project related  
Edit: wrote system specs  
Edit: 14th option, original setup is 3 screens, tried with one, still crashes  
Edit: 15th added picture

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 13, 2023, 4:22pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036/2 "2023-04-13T16:22:00Z")

</div>

What is your GPU?

---

<div class="post-metadata">

**Author:** ![Roadified](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roadified/32/566435_2.png) [@Roadified](https://forums.unrealengine.com/u/Roadified)\
**Post date:** [April 14, 2023, 7:14am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036/3 "2023-04-14T07:14:43Z")

</div>

Nvidia’s 3070 TI 8gb on the first PC and 1070 6gb on another PC.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 14, 2023, 7:51am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036/4 "2023-04-14T07:51:27Z")

</div>

One more thing. In the Nvidia control panel, 3D section, reset everything to defaults.

Apart from that I’d look at the level you’re loading.

If it’s just tinkering about with the first person example level, then, yeah, you’ve got a problem.

If it’s a massive landscape with grass all the way to the horizon, trees and stones everywhere, then I’d start to wonder if you’re just driving the system into the ground.

---

<div class="post-metadata">

**Author:** ![Roadified](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roadified/32/566435_2.png) [@Roadified](https://forums.unrealengine.com/u/Roadified)\
**Post date:** [April 14, 2023, 7:53am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036/5 "2023-04-14T07:53:41Z")

</div>

I reinstalled, upgraded and downgraded drivers multiple times on both PCs.  
It crashes in different projects, levels and computers, and as I mentioned in initial post, it crashes without interacting with PC, just when Unreal is open.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 14, 2023, 7:54am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036/6 "2023-04-14T07:54:25Z")

</div>

Strange, yes…

Did you try the control panel fix?

---

<div class="post-metadata">

**Author:** ![Roadified](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roadified/32/566435_2.png) [@Roadified](https://forums.unrealengine.com/u/Roadified)\
**Post date:** [April 14, 2023, 8:09am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036/7 "2023-04-14T08:09:40Z")

</div>

What is Control Panel fix?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [April 14, 2023, 8:15am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036/8 "2023-04-14T08:15:55Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/d/01dd1bd09d8a9df71f84a85ea3bb4cf4522bb362.png)

---

<div class="post-metadata">

**Author:** ![Roadified](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roadified/32/566435_2.png) [@Roadified](https://forums.unrealengine.com/u/Roadified)\
**Post date:** [April 17, 2023, 12:57pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036/9 "2023-04-17T12:57:19Z")

</div>

Yes of course. They also get reset with a clean install, and maybe the default install too.

---

<div class="post-metadata">

**Author:** ![Roadified](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roadified/32/566435_2.png) [@Roadified](https://forums.unrealengine.com/u/Roadified)\
**Post date:** [June 9, 2023, 1:58pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036/10 "2023-06-09T13:58:54Z")

</div>

Solved!!!

It took close to half a year to find a solution. Constant crashes and lost work, so much time wasted…

I changed the processor and motherboard. The old, which I am sure was the problem for Unreal, was **AMD Ryzen 9 3950X 16-Core**.  
I am assuming it was the processor, as I found some people on the internet also having problems with Unreal, while using this processor. It was very misleading as it is GPU crash, and it does not have internal GPU, so it is not related to switching to internal.

Maybe someone in the field can explain why this could be the cause?

Changed to **12th Intel i7-12700F**. No crashes in ~4 days.

---

<div class="post-metadata">

**Author:** ![guillemsrr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@guillemsrr](https://forums.unrealengine.com/u/guillemsrr)\
**Post date:** [June 10, 2023, 10:45am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036/11 "2023-06-10T10:45:06Z")

</div>

No way… I have an AMD Ryzen 9 5950X… Are you telling me I need to buy another Intel CPU? 🥲 There has to be another solution!

---

<div class="post-metadata">

**Author:** ![Roadified](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roadified/32/566435_2.png) [@Roadified](https://forums.unrealengine.com/u/Roadified)\
**Post date:** [June 12, 2023, 8:14am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036/12 "2023-06-12T08:14:40Z")

</div>

I have no idea how it is for you, do you also experience GPU crashes? Some people report, that doing some of the steps I did - solve their problem, but non worked for me.

Changing to Intel, was only solution that worked for me, and I tried everything else as you see in the original post. There is a small chance that it was the motherboard, but I doubt it as some users also had crashes with this CPU.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [July 12, 2023, 8:14am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-unreal-4-27-and-5-1-1/923036/13 "2023-07-12T08:14:53Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
