I cloned UnrealEngine Source ,and Setup.command runs fine.when run GenerateProjectFiles.command,i got this error:
1)Rebuilding: UnrealBuildTool assembly not found
2)can’t run “grpc.tools/2.59.0/tools/macosx_x64/protoc”
Does any know how to fix it??
below are error details
Setting up Unreal Engine project files…
Setting up bundled DotNet SDK
/Users/Mooly/Desktop/UE/UnrealEngine/Engine/Build/BatchFiles/Mac/…/…/…/Binaries/ThirdParty/DotNet/8.0.300/mac-arm64
Rebuilding: UnrealBuildTool assembly not found
Setting up bundled DotNet SDK
/Users/Mooly/Desktop/UE/UnrealEngine/Engine/Build/BatchFiles/Mac/…/…/…/Binaries/ThirdParty/DotNet/8.0.300/mac-arm64
/Users/Mooly/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB6003: 指定的任务可执行文件“/Users/Mooly/.nuget/packages/grpc.tools/2.59.0/tools/macosx_x64/protoc”未能运行。System.ComponentModel.Win32Exception (86): An error occurred trying to start process ‘/Users/Mooly/.nuget/packages/grpc.tools/2.59.0/tools/macosx_x64/protoc’ with working directory ‘/Users/Mooly/Desktop/UE/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Horde’. Bad CPU type in executable [/Users/Mooly/Desktop/UE/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Horde/EpicGames.Horde.csproj]
/Users/Mooly/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB6003: at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String argv, String envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32 groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) [/Users/Mooly/Desktop/UE/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Horde/EpicGames.Horde.csproj]
/Users/Mooly/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB6003: at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) [/Users/Mooly/Desktop/UE/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Horde/EpicGames.Horde.csproj]
/Users/Mooly/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB6003: at Microsoft.Build.Utilities.ToolTask.StartToolProcess(Process proc) [/Users/Mooly/Desktop/UE/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Horde/EpicGames.Horde.csproj]
/Users/Mooly/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB6003: at Microsoft.Build.Utilities.ToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [/Users/Mooly/Desktop/UE/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Horde/EpicGames.Horde.csproj]
/Users/Mooly/.nuget/packages/grpc.tools/2.59.0/build/_protobuf/Google.Protobuf.Tools.targets(291,5): error MSB6003: at Microsoft.Build.Utilities.ToolTask.Execute() [/Users/Mooly/Desktop/UE/UnrealEngine/Engine/Source/Programs/Shared/EpicGames.Horde/EpicGames.Horde.csproj]