Unreal Engine is exiting due to D3D device being lost AGAIN AND AGAIN

For those still having these crashes on Windows,
open your ProjectFolder/Config/DefaultEngine.ini file and add these lines to the end of file.

See if this helps, in theory this should make the engine avoid the code path in c++ that happens to throw the exception that causes that crash:



[/Script/WindowsTargetPlatform.WindowsTargetSettings]
DefaultGraphicsRHI=DefaultGraphicsRHI_DX11
+TargetedRHIs=PCD3D_SM5
-TargetedRHIs=PCD3D_SM4
-TargetedRHIs=GLSL_430
-TargetedRHIs=GLSL_150