# Unreal Engine is exiting due to D3D device being lost. (Error: 0x887A0006 - 'HUNG')

**URL:** <https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052>\
**Category:** Pipeline & Plugins\
**Tags:** error, unreal-engine, crash, bug-report, editor, UE4, question\
**Created:** [January 6, 2017, 1:57am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052 "2017-01-06T01:57:18Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![anonymous\_user\_344e96b8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_344e96b8](https://forums.unrealengine.com/u/anonymous_user_344e96b8)\
**Post date:** [February 1, 2017, 11:03pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/21 "2017-02-01T23:03:50Z")

</div>

This actually worked for me. !!

---

<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:** [February 2, 2017, 12:15am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/22 "2017-02-02T00:15:11Z")

</div>

Greetings, Ed. Would You mind to merge all the topics made by same Original Poster? There’s 5 of them!

- [https://answers.unrealengine.com/questions/539008/unreal-engine-is-exiting-due-to-d3d-device-being-l-1.html](https://answers.unrealengine.com/questions/539008/unreal-engine-is-exiting-due-to-d3d-device-being-l-1.html)
- [Unreal Engine is exiting due to D3D device being lost. (Error: 0x887A0006 - 'HUNG') - Rendering - Unreal Engine Forums](https://answers.unrealengine.com/questions/545280/unreal-engine-is-exiting-due-to-d3d-device-being-l-2.html)
- [Unreal Engine is exiting due to D3D device being lost. (Error: 0x887A0006 - 'HUNG') - Pipeline & Plugins - Unreal Engine Forums](https://answers.unrealengine.com/questions/545292/unreal-engine-is-exiting-due-to-d3d-device-being-l-3.html) (this one)
- [Unreal Engine is exiting due to D3D device being lost. (Error: 0x887A0006 - 'HUNG') - Platform & Builds - Unreal Engine Forums](https://answers.unrealengine.com/questions/545428/unreal-engine-is-exiting-due-to-d3d-device-being-l-4.html)
- [Unreal Engine is exiting due to D3D device being lost. (Error: 0x887A0006 - 'HUNG') - C++ - Unreal Engine Forums](https://answers.unrealengine.com/questions/548438/unreal-engine-is-exiting-due-to-d3d-device-being-l-5.html)

---

<div class="post-metadata">

**Author:** ![Luos](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luos/32/918700_2.png) [@Luos](https://forums.unrealengine.com/u/Luos)\
**Post date:** [March 31, 2017, 8:45am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/23 "2017-03-31T08:45:49Z")

</div>

For those who keep having this issue even with unchecking “Real-Time Thumbnails” get “MSI Afterburner” or other means to down-clock the gpu a few 100 mhz, this is almost always guaranteed to work. (tested it on multiple occasions, and suggested it to multiple people)

afterburner link: [Afterburner](https://www.msi.com/page/afterburner)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0c62419a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0c62419a](https://forums.unrealengine.com/u/anonymous_user_0c62419a)\
**Post date:** [March 31, 2017, 2:17pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/24 "2017-03-31T14:17:15Z")

</div>

I appreciate the post Luos, If I see anyone else having issues I’ll give them your suggestion.

Thank you!

---

<div class="post-metadata">

**Author:** ![CinderTheone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CinderTheone](https://forums.unrealengine.com/u/CinderTheone)\
**Post date:** [April 3, 2017, 12:23am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/25 "2017-04-03T00:23:16Z")

</div>

disabling real-time Thumbnails have for the time being sorted out my crashes! Don’t know for how long but I am hopeful, really appreciate the input guys!

---

<div class="post-metadata">

**Author:** ![liumingod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@liumingod](https://forums.unrealengine.com/u/liumingod)\
**Post date:** [April 5, 2017, 7:01am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/26 "2017-04-05T07:01:14Z")

</div>

All things metioned above i have tried,still HUNG crashed. I’m wait to solve the problem and continue to work ☹

gtx 1070  
i7 6700

---

<div class="post-metadata">

**Author:** ![liumingod](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@liumingod](https://forums.unrealengine.com/u/liumingod)\
**Post date:** [April 5, 2017, 7:01am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/27 "2017-04-05T07:01:44Z")

</div>

All things metioned in this thread i have tried,still HUNG crashed. I wait to solve the problem and continue to work ☹

gtx 1070  
i7 6700

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0c62419a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0c62419a](https://forums.unrealengine.com/u/anonymous_user_0c62419a)\
**Post date:** [April 5, 2017, 5:30pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/28 "2017-04-05T17:30:02Z")

</div>

In an upcoming hot fix we plan to implement Nvidia Aftermath which should help us get to the bottom of these d3d crash issues.

---

<div class="post-metadata">

**Author:** ![RuTzoT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RuTzoT](https://forums.unrealengine.com/u/RuTzoT)\
**Post date:** [May 13, 2017, 4:57pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/29 "2017-05-13T16:57:32Z")

</div>

I have the same problem: “Unreal Engine is exiting due to D3D device being lost.” I did all the above written - nothing helped. At me this error appears at opening practically any editor (the Skeletal, particles, a material). Without this it is impossible to work. You can put a cross on the project, which took a lot of time. If there is any solution, I will provide all the data about errors and their reproductions. Sorry, if something is not clear, I translate through Google.link text

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0c62419a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0c62419a](https://forums.unrealengine.com/u/anonymous_user_0c62419a)\
**Post date:** [May 15, 2017, 6:01pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/30 "2017-05-15T18:01:40Z")

</div>

Hi RuTzoT,

We are still investigating this d3d hung crash issue. If none of the suggested work arounds assist you I would suggest working in a previous engine version that doesn’t have issues.

Nvidia Aftermath has been introduced and we are still analyzing the data coming in.

---

<div class="post-metadata">

**Author:** ![Positivity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Positivity](https://forums.unrealengine.com/u/Positivity)\
**Post date:** [June 17, 2017, 9:17am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/31 "2017-06-17T09:17:51Z")

</div>

Hey, I would like to add to this issue one thing, I have this same issue happening in 4.16.1 This Fatal Error happens if my Oculus Headset is Plugged in and I launch a game with Dedicated Server Ticked and as Single Proces. If I Launch game without Dedicated Server no Error occurs, Oculus Still Plugged in. If I Unplug Oculus I have no Fatal Error in DS mode. Fatal Error is happening Exactly after I try to close the New Editor Window and not on Start of the Play  
Windows 10 64x  
GTX 1080

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_814f7e331](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_814f7e331](https://forums.unrealengine.com/u/anonymous_user_814f7e331)\
**Post date:** [June 27, 2017, 10:27pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/32 "2017-06-27T22:27:18Z")

</div>

Most of my steam games are giving me problems now. Crashing, giving me fatal errors left and right.

One error is this:  
create\_index\_buffer:CreateBuffer failed.HRESULT:  
2289696773=DXGI\_ERROR\_DEVICE\_REMOVED:  
GetDeviceRemovedReason() = DXGI\_ERROR\_DEVICE\_HUNG

At  
“F:\BuildAgent\work\1358eaafe6731564\runtime\d3d11\_render\_de  
vice\d3d\_geometry.cpp:266”

Another error is this:  
[![Imgur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/b/5/0b5da692b0f5169d37400149481c4d1946b26713.jpeg "imgur.com") ](https://imgur.com/qANnNO5)

Another error is this:  
[![Imgur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/3/e/23ef13c6741b8250aebdb382619817b8318b7a07.png "imgur.com") ](https://imgur.com/TYodlY5)

Just what on earth is happening? Is there a solution yet???

---

<div class="post-metadata">

**Author:** ![Tetsuwan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tetsuwan](https://forums.unrealengine.com/u/Tetsuwan)\
**Post date:** [July 20, 2017, 6:28pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/33 "2017-07-20T18:28:30Z")

</div>

, it **helped** me.

I’ll write if something changes

---

<div class="post-metadata">

**Author:** ![MADHOUSE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MADHOUSE](https://forums.unrealengine.com/u/MADHOUSE)\
**Post date:** [August 23, 2017, 10:30pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/34 "2017-08-23T22:30:05Z")

</div>

We just finished a playtest with a shipping build of a multiplayer game with UE 4.17.1, one of the clients got **a lot** of these crashes:

![210966-crash.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713fd2f071792cc3bd583093e404ce3a9f5672ac.jpeg)

---

<div class="post-metadata">

**Author:** ![Luneya](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luneya](https://forums.unrealengine.com/u/Luneya)\
**Post date:** [September 20, 2017, 1:04pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/35 "2017-09-20T13:04:30Z")

</div>

I have encountered these errors every 2 minutes when playing Hellblade: Senua’s Sacrifice whilst streaming via OBS Studio.  
Mind you, I have done so many times before and nothing has changed in my settings. And somehow since today these crashes keep happening. I have tried all the suggestions in this thread, but nothing has prevented these crashes from happening. The only thing I could ofcourse not try was disabling the thumbnails, because I am not making a game. Just trying to play one 😉

MSI GTX 770 Gaming GPU / i5 4670K

---

<div class="post-metadata">

**Author:** ![arke1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@arke1](https://forums.unrealengine.com/u/arke1)\
**Post date:** [September 29, 2017, 6:24am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/36 "2017-09-29T06:24:32Z")

</div>

How is this problem so common and still not fixed?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c3c513d1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c3c513d1](https://forums.unrealengine.com/u/anonymous_user_c3c513d1)\
**Post date:** [October 24, 2017, 9:37pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/37 "2017-10-24T21:37:05Z")

</div>

+1

this fixed it for us on a very heavy level that we were getting this crash pressing PIE

---

<div class="post-metadata">

**Author:** ![Klamsi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Klamsi](https://forums.unrealengine.com/u/Klamsi)\
**Post date:** [February 12, 2018, 9:56pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/38 "2018-02-12T21:56:06Z")

</div>

thats the solution that worked for me:

[HKEY\_LOCAL\_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers]

“TdrDelay”=dword:0000000a

“TdrDebugMode”=dword:00000001

“TdrLevel”=dword:00000000

---

<div class="post-metadata">

**Author:** ![9robin3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@9robin3](https://forums.unrealengine.com/u/9robin3)\
**Post date:** [February 16, 2018, 7:25pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/39 "2018-02-16T19:25:13Z")

</div>

Also have this problem but only on some computers. Please help

---

<div class="post-metadata">

**Author:** ![9robin3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@9robin3](https://forums.unrealengine.com/u/9robin3)\
**Post date:** [February 16, 2018, 7:38pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/40 "2018-02-16T19:38:24Z")

</div>

Where do I write this?

[Previous page](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052.md?page=1)

[Next page](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052.md?page=3)
