Unreal 5.1 won’t compile – SDK Not Setup

In this case, make sure you have Visual Studio Community 2019 installed and use this guide for the correct config. Then reboot Windows