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

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]

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.

,

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

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.

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

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.

!

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.

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!

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

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.

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

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)

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,

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!

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

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)

Method 1 (manually):

  • Go to the this link:
    Testing and debugging TDR during driver development - Windows drivers | Microsoft Learn

  • 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

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

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

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.

[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?

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