Does anybody know how to fix d3d device being lost?

I also got this issue on Windows 11 using NVIDIA 4070 with latest game ready drivers and UE 4.27. I don’t think its a windows OS version issue