UnrealBuildTool failed with exit code 6 in XCode, VS, and Rider

Above is the error message in Rider, but no details are available, so I’m left in the dark as to what the exact error is. I’ve tried building as both “startup” and “current” projects, but to no avail. I’m using a Mac, Unreal 5, and am attempting to compile a new project with no c++ code changes yet. The automatically generated c++ assets are there though. Any idea on how to fix this issue? Any more information that I could provide?

3 Likes

Same problem but with xcodebuild.sh. I don’t know why no one ever bothers helping with this stuff. All the mac UE5 users i know echo that its basically impossible to build from source and it absolutely shouldn’t be.

3 Likes

Openning the log file should provide more information:

2023-03-21-22-00-51.103

关闭虚幻引擎编辑器,通过Rider打开虚幻引擎编辑器,此时编译则不会再次出现问题。否则只能使用虚幻引擎编辑器右下角本身自带的编译。

2 Likes

Disable Live Coding in Edit > Editor Preferences.

I hope it will work for you as well