Solved - for me
Tried all the recommended solutions but none of those worked for me. What worked for me was going in device manager and updating my intel display adapter driver (i first uninstalled it through device manager)
I have an Acer Nitro 5 laptop with a Nvidia GTX1050ti.
When using the editor I also checked Task Manager and I can see that unreal engine is using my Nvidia display card now.
Originally my editor would crash when in full screen mode so I had been working in windowed mode but every now and then I would accidentally snap the window to full screen and get a crash, with D3D device lost… So glad this is sorted now!