UEFN is unusable, constant crashing Assertion Failed

Assertion failed: (::DwmExtendFrameIntoClientArea(HWnd, &Margins)) >= 0 File: WindowsWindow.cpp Line: 359

I’ve formated PC, reverted Driver updates but nothing helped.

I keep getting this crash randomly on UEFN, screen goes black and then like 10 seconds like the whole PC shuts down… If it helps I think it happens mostly when I alt tab or change windows.

I’ve attached the crash logs.

This only happens with UEFN.

RX 6600
Ryzen 5 5600
32gb ram
Windows 11 25H2

Hope someone can help me or that this can be fixed because its impossible to use UEFN like this.

Also I can’t send files bcs my main account can’t post here for some reason I get draft errors, so if u want log files tell me and I can send on Discord or smth…