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

<div class="post-metadata">

**Author:** ![NODARYN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NODARYN](https://forums.unrealengine.com/u/NODARYN)\
**Post date:** [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/1 "2017-01-06T01:57:18Z")

</div>

I got to correct a mistake for UE4, which I downloaded via the launcher with the help of the program update, which I found on the forum, but what UE4, which I downloaded via GitHub? The program-update not see UE4 from GitHub! Crash occurs when the editor starts.

Here is the error code:

MachineId:F4412F3946E742FE3B70A3A0CFF1B0E5 EpicAccountId:b879a722949044ceb94f37a7925777be

Fatal error: [File:C:\Users\matus\Documents\UnrealEngine\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Util.cpp] [Line: 176] Unreal Engine is exiting due to D3D device being lost. (Error: 0x887A0006 - ‘HUNG’)

UE4Editor\_Core!FDebug::AssertFailed() [c:\users\matus\documents\unrealengine\engine\source\runtime\core\private\misc\assertionmacros.cpp:332] UE4Editor\_D3D11RHI!TerminateOnDeviceRemoved() [c:\users\matus\documents\unrealengine\engine\source\runtime\windows\d3d11rhi\private\d3d11util.cpp:176] UE4Editor\_D3D11RHI!VerifyD3D11Result() [c:\users\matus\documents\unrealengine\engine\source\runtime\windows\d3d11rhi\private\d3d11util.cpp:225] UE4Editor\_D3D11RHI!FD3D11DynamicRHI::RHIReadSurfaceFloatData() [c:\users\matus\documents\unrealengine\engine\source\runtime\windows\d3d11rhi\private\d3d11rendertarget.cpp:1176] UE4Editor\_RHI!FRHICommandListImmediate::ReadSurfaceFloatData() [c:\users\matus\documents\unrealengine\engine\source\runtime\rhi\public\rhicommandlist.h:3025] UE4Editor\_Renderer!ComputeSingleAverageBrightnessFromCubemap() [c:\users\matus\documents\unrealengine\engine\source\runtime\renderer\private\reflectionenvironmentcapture.cpp:316] UE4Editor\_Renderer!ComputeAverageBrightness() [c:\users\matus\documents\unrealengine\engine\source\runtime\renderer\private\reflectionenvironmentcapture.cpp:379] UE4Editor\_Renderer!TGraphTask\<`FScene::UpdateReflectionCaptureContents'::`19’::EURCMacro\_FilterCommand\>::ExecuteTask() [c:\users\matus\documents\unrealengine\engine\source\runtime\core\public\async\taskgraphinterfaces.h:868] UE4Editor\_Core!FNamedTaskThread::ProcessTasksNamedThread() [c:\users\matus\documents\unrealengine\engine\source\runtime\core\private\async\taskgraph.cpp:932] UE4Editor\_Core!FNamedTaskThread::ProcessTasksUntilQuit() [c:\users\matus\documents\unrealengine\engine\source\runtime\core\private\async\taskgraph.cpp:679] UE4Editor\_RenderCore!RenderingThreadMain() [c:\users\matus\documents\unrealengine\engine\source\runtime\rendercore\private\renderingthread.cpp:320] UE4Editor\_RenderCore!FRenderingThread::Run() [c:\users\matus\documents\unrealengine\engine\source\runtime\rendercore\private\renderingthread.cpp:454] UE4Editor\_Core!FRunnableThreadWin::Run() [c:\users\matus\documents\unrealengine\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:74]

---

<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:** [January 10, 2017, 2:27pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/2 "2017-01-10T14:27:03Z")

</div>

Hi MrPrane,

What you are referring to is the QFE. If you update to 4.14.2 that will include the fix that addresses this issue. If you are still getting the crash then you have a unique issue that needs investigation. Try out 4.14.2 and see if you still get the crash. If so, please comment here.

,

---

<div class="post-metadata">

**Author:** ![NODARYN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NODARYN](https://forums.unrealengine.com/u/NODARYN)\
**Post date:** [January 11, 2017, 5:00am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/3 "2017-01-11T05:00:20Z")

</div>

I shook Release version from GitHub January 6 this year, so I have version 4.14.2 likely.

---

<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:** [January 11, 2017, 3:02pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/4 "2017-01-11T15:02:46Z")

</div>

The update is intended for specific hardware. Could you provide your DxDiag? To do this open your windows command prompt and enter **dxdiag**.

When the window appears save all information and attach the generated file in this post.

Also, to ensure this isn’t a hardware issue could you test this on a binary build of 4.14.2?

It would be very useful to know if the Binary version of the engine crashes. By binary build I am referring to the build of the engine you get via the launcher. Just install the epic games launcher and grab the latest engine version.

* * *

One last note, when I looked up your machine ID on crash reporter I got a different crash callstack. When you get this particular crash could you make sure to submit it in the crash window.

---

<div class="post-metadata">

**Author:** ![NODARYN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NODARYN](https://forums.unrealengine.com/u/NODARYN)\
**Post date:** [January 11, 2017, 8:45pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/5 "2017-01-11T20:45:58Z")

</div>

In UE4, downloaded from the launcher, I had the same problem, I decided with the help of the program-fix, which I downloaded on the forum.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:** [January 13, 2017, 3:31pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/6 "2017-01-13T15:31:38Z")

</div>

Thank you for all of the useful information.

Now that I have your system info I’m going to start testing on a machine similar to yours.

Could you please provide the exact list of steps that reproduce your crash reliably in a blank project. Once I have that information I can begin testing to see if I get the crash on my side.

!

---

<div class="post-metadata">

**Author:** ![NODARYN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NODARYN](https://forums.unrealengine.com/u/NODARYN)\
**Post date:** [January 13, 2017, 9:46pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/7 "2017-01-13T21:46:47Z")

</div>

I downloaded a project, made by another person chosen for his version of the engine, which I downloaded from GitHub, and launched the project. Then came the automatic adjustment of shaders (approximately 3,000 units) and as soon as the adjustment has reached the end - flew error. Now when I try to open the same project, I get out error immediately and with little computer freezes.

---

<div class="post-metadata">

**Author:** ![NODARYN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NODARYN](https://forums.unrealengine.com/u/NODARYN)\
**Post date:** [January 13, 2017, 9:51pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/8 "2017-01-13T21:51:23Z")

</div>

I also want to add that the engine that I downloaded via the launcher, also causes an error when you try to edit the actor is, but it helped me a program-fix I downloaded on the forum, but GitHub version of this program does not see!

---

<div class="post-metadata">

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

</div>

I downloaded version 4.14.3 with GitHub and still flies out error.

---

<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:** [January 16, 2017, 1:53pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/10 "2017-01-16T13:53:49Z")

</div>

Unfortunately, I can’t reproduce the issue with the information you provided. Could you provide steps to reproduce the crash from a blank or template project.

If that isn’t possible could you provide a small sample project that reproduces the issue?

Without these things I can’t continue with this investigation.

---

<div class="post-metadata">

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

</div>

In pure project I’m fine, no errors. The error occurs when loading the project, as a famous world “MMO Starter Kit 1.7”. [MMO Starter Kit - Content Creation - Unreal Engine Forums](https://forums.unrealengine.com/showthread.php?53208-MMO-Starter-Kit)

---

<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:** [January 18, 2017, 10:00pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/12 "2017-01-18T22:00:18Z")

</div>

Hey MrPrane,

Good News! We were finally able to reproduce this crash and have a JIRA for it here: [Unreal Engine Issues and Bug Tracker (UE-40807)](https://issues.unrealengine.com/issue/UE-40807)

You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may take some time to address.

Cheers,

---

<div class="post-metadata">

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

</div>

Well, thank you for your support! If this case is just me - you do not hurry up, I have another project works and I work in it, just leave a review about the existence of a problem. again!

---

<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:** [January 19, 2017, 7:04pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/14 "2017-01-19T19:04:06Z")

</div>

Hi MrPrane,

There is a possible workaround that we are investigating. The GPU crash may be related to microsoft’s Timeout Detection & Recovery(TDR) feature. You can find out more about it here: [Timeout detection and recovery (TDR) - Windows drivers | Microsoft Learn](https://msdn.microsoft.com/en-us/library/windows/hardware/ff570087(v=vs.85).aspx)

Basically, it detects if your GPU is hung up and if it passes a certain amount of time Windows will automatically reset the GPU resulting in the crash. This is done to prevent a freeze forcing a hard reboot of the system.

Sometimes you need to add a little more time for your GPU to process before Windows causes the reset. To do this you need to change the TDR delay.

I have two suggestion on how to do this you can do it manually yourself OR you can download a tool that will do it for you. However, I haven’t used the tool that much myself but it does appear to work. (Use at your own risk)

---

<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:** [January 19, 2017, 7:04pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/15 "2017-01-19T19:04:29Z")

</div>

**Method 1** (manually):

- Go to the this link:  
[Testing and debugging TDR during driver development - Windows drivers | Microsoft Learn](https://msdn.microsoft.com/en-us/library/windows/hardware/ff569918(v=vs.85).aspx)

- There you will find a section called TdrDelay it gives you all the information you need to create a registry key that will change the delay time

- To open your registry open your start menu and type “run” once the window is open type “regedit” and hit OK

- Now you should have Registry Editor open this is where you will use the info at the website I just linked.

- First navigate the key path HKEY\_LOCAL\_MACHINE\System\CurrentControlSet\Control\GraphicsDrivers

- Right click on GraphicsDrivers and go to new\> DWORD (32 bit) value

- You will see a new key appear make sure to name it “TdrDelay”

- Right click it and select “modify”

- Under **Value data** enter 10 (this is the number of seconds to delay) **make sure you have Decimal selected as the base**

- Hit okay and restart your system

**Method 2**

- Go to this forum: [https://forums.geforce.com/default/topic/550192/geforce-drivers/wagnard-tools-ddu-gmp-tdr-manupulator-updated-09-01-14-/](https://forums.geforce.com/default/topic/550192/geforce-drivers/wagnard-tools-ddu-gmp-tdr-manupulator-updated-09-01-14-/)

- Download TDR Manipulator

- Run the application and change the TdrDelay value to 10

- Restart system

---

<div class="post-metadata">

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

</div>

Unfortunately it did not help. Thank you for having tried to help!

---

<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:** [January 23, 2017, 2:10pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/17 "2017-01-23T14:10:45Z")

</div>

Okay, thank you for the feedback. We are still investigating this issue. I will update this post once more information is found.

Thank you for your patience.

Ed

---

<div class="post-metadata">

**Author:** ![NODARYN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NODARYN](https://forums.unrealengine.com/u/NODARYN)\
**Post date:** [January 23, 2017, 2:36pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/18 "2017-01-23T14:36:53Z")

</div>

Perhaps this is something to do with the failure of my video card. It is, starts to act, there are artifacts and helps only GPU warming. If I have a unique situation, this video card is the problem.

---

<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:** [January 23, 2017, 2:52pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/19 "2017-01-23T14:52:20Z")

</div>

**[UPDATE] A user (IronicParadox) suggested that going into the content browser pane \> click the little eye that says “View Options” and uncheck “Real-Time Thumbnails.” made the engine much more stable.**

Could you let me know if this helps?

---

<div class="post-metadata">

**Author:** ![NODARYN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NODARYN](https://forums.unrealengine.com/u/NODARYN)\
**Post date:** [January 24, 2017, 3:25am UTC](https://forums.unrealengine.com/t/unreal-engine-is-exiting-due-to-d3d-device-being-lost-error-0x887a0006-hung/381052/20 "2017-01-24T03:25:45Z")

</div>

So far, there are no errors, but may appear in the future. What is the option?

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