The game has crashed and will close. Is there a way to prevent this error?

This error message is displayed extremely frequently when playing a packaged game. The game cannot be played for more than maybe a minute without this happening. I have packaged other games in which this error message is rarely ever displayed at all. To me it seems to be an issue with Unreal Engine 5 and I’m not sure when it might be fixed. Is there a useful work around at the moment? I’ve read suggestions of switching from directx12 to directx11, but I don’t believe that’s a good idea.

The error in the screen shot reads:

LowLevelFatalError

[File:D:\build++UES Sync Engine\Source\Runtime\D3D12RHI\Private\D3D12

Util.cpp Line: 868) CurrentQueue.Device->GetDevice()->GetDeviceRemoved Reason failed

at

D\build++UES\Sync Engine\Source\Runtime D3D12RHI\Private D3D125ub

mission.cpp:910 with error 887A0006