I’ve also run into this. I filed a bug on it, Case # 00273684. I’ve tried clean installs on multiple machines with the same error, on both Big Sur and Catalina.
Edit: compiling from inside UE still works, though there’s no way to do source-level debugging.