Microsoft.MakeFile.targets(45, 5): [MSB3073] 命令“"C:\Program Files\Epic Games\UE_5.1\Engine\Build\BatchFiles\Build.bat" MyProjectEditor Win64 Development -Project="C:\Users\1\Documents\Unreal Projects\MyProject\MyProject.uproject" -WaitMutex -FromMsBuild”已退出,代码为 6。
Had the same error.
It was because I installed RiderLink plugin as a UE5’s engine plugin. Apprently RiderLink preview has a bug, and it only works as a per-project plugin.
Removed the RiderLink folder from UE5’s engine plugin (Plugin/Developer/RiderLink) and reinstalled it in the project folder. And the project was finally built.
More here: Unreal Engine 5 - Jetbrains Rider Early Access - YouTube 88