I’ve recently run into an issue where I can’t build UE 5.1 from the source code with XCode 14.0.1. (I wanted to tryout the native Apple Silicon support.) Following the steps on Github, everything works as expected until I try to build UE5 itself. (I.e. Shader Compiler Worker builds fine.) The build will run for awhile and then error out with no exit/error code info. And it appears to error out at various stages of the build. Also, once the error occurs, there seems to be no way to pickup from the error and I am forced to start the process over completely from scratch. (Reclone the repository from Github etc.) Does anyone out there have a fix for this? Thanks!
I have same trouble…
I’ve also tried compiling with XCode 13.4.1 and no go there. Tends to crash in the mid 400’s as far as task number goes.
Downgrade XCode to version 13.4.1, open XCode directly from Xcode.app/Contents/MacOS/Xcode. Load UE workspace project and click on blue hammer icon. Select New Build System instead of old deprecated legacy and build. This method resolved this issue for me
I gave that a try and it still fails even with the released 5.1. Not sure what is causing the issue.
Hmmm, that’s weird. Maybe try to follow this video: Unreal Engine 5.1 On M1/M2 Apple MacBooks - YouTube
The infuriating part is I have followed all the steps for creation and it fails no matter what I try.
- Fork Github branch.
- Make sure it is up-to-date and clone it with Github desktop for personal use.
- Run the setup.command. (Runs fine.)
- Run generate project files. (Runs fine.)
- Open the project file in XCode 14.1 OR 13.4.1 but double clicking it OR open either version of XCode then open the project file OR open either version of XCode by digging down into its contents folder as described above. NOTE: I made sure that both versions of XCode were never on the machine at the same time and did clean uninstalls/installs of each before testing.
- Run build shadercomillerworker. Works fine in both versions.
- Build UE5. Crashes at random times in both versions. For 13.4.1 I made sure to specify to use the new build system etc.
Everyone online says how easy it is, so I have no idea what is happening here. I am on a MacBook Pro (14").
Do you think if I bring my game to ue4 it’ll work?
I bumped into this issue myself. But finally found workaround. After you followed all the normal steps and did build the ue5 target in xcode it will fail. You would have to restart your macbook (with reopen option unchecked) and then attempt to rebuild the ue5. As silly as it sounds it works.
thanks,its realy …magical