# Unreal Engine is exiting due to D3D device being lost. (Error: 0x0 - 'S\_OK')

**URL:** <https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x0-s-ok/459596>\
**Category:** Getting Started & Setup\
**Tags:** error, d3d11, unreal-engine, crash, question\
**Created:** [December 16, 2019, 6:07pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x0-s-ok/459596 "2019-12-16T18:07:36Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![XynanXDB](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XynanXDB](https://forums.unrealengine.com/u/XynanXDB)\
**Post date:** [December 16, 2019, 6:07pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x0-s-ok/459596/1 "2019-12-16T18:07:36Z")

</div>

HI, I kept having Unreal Engine is exiting due to D3D device being lost. (Error: 0x0 - ‘S\_OK’) error even though I have plugged in my laptop, install latest drivers, selecting the NVIDIA GPU in Control Panel.

Here are my laptops specs are:  
Acer Predator Helios 300

1. Intel Core i7-7700HQ
2. 16.0GB RAM
3. NVDIA GeForce GTX 1060

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [December 16, 2019, 8:19pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x0-s-ok/459596/2 "2019-12-16T20:19:41Z")

</div>

This is typical issue with Intel+Nvidia laptops, in most cases it is power management switching between NVidia GPU to Intel GPU in CPU and vice versa. Go to power management and set as much high performance settings you can set, maybe you will find some settings about in NVidia (which sound like you already did), make sure you got your laptop plug in to AC which encourage laptop to use NVidia GPU more often. UE4 can idle quite heavily unlike typical game so it might confuse those systems sometimes.

That said i never seen case with S\_OK error code, so it might be some special case. Is there any perticilar moment this happens? Try to observer more as this might help.

---

<div class="post-metadata">

**Author:** ![XynanXDB](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@XynanXDB](https://forums.unrealengine.com/u/XynanXDB)\
**Post date:** [December 17, 2019, 5:03am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x0-s-ok/459596/3 "2019-12-17T05:03:40Z")

</div>

I have my laptop constantly connected to power source. I did not have any issues regarding this error back then. It only happen recently. I’m not sure whether my GPU is failing but I’m getting consistent performance when gaming. The error only happens when using Unreal though.

---

<div class="post-metadata">

**Author:** ![BrentVL2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BrentVL2](https://forums.unrealengine.com/u/BrentVL2)\
**Post date:** [December 23, 2020, 9:40am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x0-s-ok/459596/4 "2020-12-23T09:40:04Z")

</div>

I have the same issue, please help as I am starting to lose my mind. The crash freezes my entire laptop for a bit and occurs very fast after opening the editor, mostly when moving in viewport but also on undo. I have Geforce GTX 1050TI, I5 7300 HQ, 16GB RAM.

Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Windows/D3D11RHI/Private/D3D11Util.cpp] [Line: 198] Unreal Engine is exiting due to D3D device being lost. (Error: 0x0 - ‘S\_OK’)

UE4Editor\_D3D11RHI  
UE4Editor\_D3D11RHI  
UE4Editor\_D3D11RHI  
UE4Editor\_D3D11RHI  
UE4Editor\_D3D11RHI  
UE4Editor\_RHI  
UE4Editor\_RHI  
UE4Editor\_RHI  
UE4Editor\_RHI  
UE4Editor\_RHI  
UE4Editor\_SlateRHIRenderer  
UE4Editor\_SlateRHIRenderer  
UE4Editor\_SlateRHIRenderer  
UE4Editor\_Core  
UE4Editor\_Core  
UE4Editor\_RenderCore  
UE4Editor\_RenderCore  
UE4Editor\_Core  
UE4Editor\_Core  
kernel32  
ntdll

---

<div class="post-metadata">

**Author:** ![TurtleBoi47](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TurtleBoi47](https://forums.unrealengine.com/u/TurtleBoi47)\
**Post date:** [October 13, 2024, 10:55pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x0-s-ok/459596/5 "2024-10-13T22:55:26Z")

</div>

It’s been 4 years but I started having the same issue out of nowhere with every game that uses unreal engine, did you manage to find a solution? Also setting the scaling to 100% in windows does fix it but it makes other stuff work weird so it’s more of a temporary solution

---

<div class="post-metadata">

**Author:** ![TurtleBoi47](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TurtleBoi47](https://forums.unrealengine.com/u/TurtleBoi47)\
**Post date:** [October 14, 2024, 7:14am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x0-s-ok/459596/6 "2024-10-14T07:14:35Z")

</div>

also now found out if i set my gpu mode to discrete on omen gaming hub it works, so i think the problem is something with UE refusing to get enough power from the dGPU

---

<div class="post-metadata">

**Author:** ![R0b\_lucc1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@R0b\_lucc1](https://forums.unrealengine.com/u/R0b_lucc1)\
**Post date:** [January 7, 2025, 8:12pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x0-s-ok/459596/7 "2025-01-07T20:12:01Z")

</div>

Same here it comes out of nowhere just when i think its gonna work smh

---

<div class="post-metadata">

**Author:** ![Plazma2000s](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Plazma2000s](https://forums.unrealengine.com/u/Plazma2000s)\
**Post date:** [January 8, 2025, 11:31am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x0-s-ok/459596/8 "2025-01-08T11:31:27Z")

</div>

Hi, yeah Ive been stuck in this problem since July 2024.  
You are best off moving to another engine before you get too invested in Unreal Engine.  
I wish they had promoted it as a prototype tool instead of a game engine.

Have you looked into Source 2? Im thinking about moving over when I get all my money back from the assets I have paid for. I lost a contract I was in for today with a client and its starting to cost me too much cash.

Heres Source 2, its not as real time interactive as the Unreal Editor but the software will 100% work.  
Its best to use Unreal Engine 5 as a rough prototype tool and just to stop using it when it starts its normal route of breaking, crashing and loops etc.

Valve has pretty decent publishing costs etc.

[https://developer.valvesoftware.com/wiki/Source\_2](https://developer.valvesoftware.com/wiki/Source_2)

---

<div class="post-metadata">

**Author:** ![RibsyTrr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RibsyTrr](https://forums.unrealengine.com/u/RibsyTrr)\
**Post date:** [March 10, 2025, 2:40pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x0-s-ok/459596/9 "2025-03-10T14:40:50Z")

</div>

I ended up having this issue and I was able to solve it.

Problem:  
Currently, there is a microcode issue with 13th and 14th gen Intel processors that causes them to crash, or causes them to struggle to “talk to” other processors your computer may have, such as an NVIDIA processor. Intel has already “patched” this issue, but it is unfortunately still present.

Fix:  
Were going to change the Host Systems configuration settings, particularly the “Graphics Switch” setting from [Hybrid] to [Discrete].

To do so, hold shift while you use that start menu to restart your computer. Continue to hold shift until a blue menu appears. There, you will select

troubleshoot \< advanced options \< UEFI Firmware settings

When prompted to restart your device, do so, and then use the F10 menu option to enter the BIOS setup menu. Navigate to the configuration Tab, and then use the bottom arrow key to scroll down to the Graphics Switch option. Use the enter key to change the setting from hybrid to discrete, and then naviagte to the exit menu to save and restart your device. I hope that helped, and if didnt fix it, I wish you luck in your search.

---

<div class="post-metadata">

**Author:** ![MTKzQ1517](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MTKzQ1517](https://forums.unrealengine.com/u/MTKzQ1517)\
**Post date:** [May 26, 2025, 7:08pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x0-s-ok/459596/10 "2025-05-26T19:08:56Z")

</div>

Hi, I had the same error and following your instructions I was also able to solve it, too!  
Many thanks!

---

<div class="post-metadata">

**Author:** ![Akira\_813](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Akira\_813](https://forums.unrealengine.com/u/Akira_813)\
**Post date:** [October 29, 2025, 2:51pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x0-s-ok/459596/11 "2025-10-29T14:51:47Z")

</div>

Thank you sooo so much I had this problem and now it works thanks to you. You just made my day
