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

You should create new keys in regedit as you did for “TdrDelay” Here is instructions from

:diamonds::diamonds: STAFF Jan 19 '17 at
10:04 PM 2 Method 1 (manually):

Go to the this link:

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

You can do the same for “TdrDebugMode” and “TdrLevel”, But you sould use hexadecimal instead of decimal.