The “D3D Device Being Lost” error is fairly common and often happens with higher-resolution monitors, especially if you’re running at 2K or higher and 144Hz. Rendering to these displays demands more power from your GPU, and if your power supply isn’t strong enough, your GPU could be starved for power and shut down.
This issue can also occur if your PC shares a circuit with power-hungry devices like a toaster or air conditioner. For example, during the summer, I can’t run games fullscreen on my 2K monitor because my system shares a circuit with our AC. Sometimes, locking both the desktop and game to 60Hz lets me play for a while, but the issue still eventually happens. To avoid this, I usually play in windowed mode.
Other potential causes include overheating, faulty hardware, or certain software like Afterburner, which can sometimes create more issues than it solves.
I recommend opening Task Manager, going to the Performance tab, and monitoring your GPU and temperature while using the editor or playing games to see if that helps pinpoint the problem.