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

You need to use the NVIDIA ‘Studio drivers’ instead of the ‘Game Ready drivers’. Everything works as expected if you switch to the Studio drivers. Had this frustrating issue for a very long time and now 0 issues.