UE5 crashes on windows 11

I had similar problems and my fix (without downgrading anything) was to download and update directx from microsofts site. Then I made sure Epic game launcher was opened as administrator, uninstalled and then reinstalled unreal editor. After that everything worked.