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

I have not found a solution yet but instead of the unreal engine crash, I am now getting a dialogue box that says, “The application has crashed and will now close. We apologize for the inconvience.” So yea not sure what to do lol