Announcement

Collapse
No announcement yet.

Problem doing a rocket build

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • started a topic Problem doing a rocket build

    Problem doing a rocket build

    Hey, a student from Germany here. Currently, I am working on a project with a friend. We integrated Nividia's hairworks into the 4.18.3 branch. While we were successful with a manual compile, our attempt to do a rocket build is failing. First, the automation tool couldn't find the pdbcopy.exe we fixed that by installing the SDK from Microsoft and doing a symlink. Now we are getting the following error message:
    Code:
    CommandUtils.Run: Took 80,6506794s to run UnrealBuildTool.exe, ExitCode=1
    ExceptionUtils.PrintExceptionInfo: ==============================================================================
    ExceptionUtils.PrintExceptionInfo: ERROR: Command failed (Result:1): C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Binaries\DotNET\UnrealBuildTool.exe UnrealHeaderTool Win64 Development  -NoUBTMakefiles -nobuilduht -precompile -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2018.02.06-23.00.06.txt'
    ExceptionUtils.PrintExceptionInfo:        while executing <Compile Target="UnrealHeaderTool" Configuration="Development" Platform="Win64" Arguments="-precompile" AllowXGE="True" AllowParallelExecutor="True" />
    ExceptionUtils.PrintExceptionInfo:        at Engine\Build\InstalledEngineBuild.xml(94)
    ExceptionUtils.PrintExceptionInfo:        (see C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace)
    ExceptionUtils.PrintExceptionInfo:
    ExceptionUtils.PrintExceptionInfo: CommandFailedException: Command failed (Result:1): C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Binaries\DotNET\UnrealBuildTool.exe UnrealHeaderTool Win64 Development  -NoUBTMakefiles -nobuilduht -precompile -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2018.02.06-23.00.06.txt'
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 923
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUtils.cs:line 876
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:line 52
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars) in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:line 90
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars) in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 376
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictionary`2 InTargetToManifest) in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 1438
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.CompileTaskExecutor.Execute(JobContext Job, HashSet`1 BuildProducts, Dictionary`2 TagNameToFileSet) in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\BuildGraph\Tasks\CompileTask.cs:line 154
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.Node.Build(JobContext Job, Dictionary`2 TagNameToFileSet) in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\BuildGraph\Node.cs:line 197
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.BuildGraph.BuildNode(JobContext Job, Graph Graph, Node Node, TempStorage Storage, Boolean bWithBanner) in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.cs:line 685
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.BuildGraph.BuildAllNodes(JobContext Job, Graph Graph, TempStorage Storage) in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.cs:line 614
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.BuildGraph.Execute() in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.cs:line 421
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands) in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 558
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.Automation.Process(String[] Arguments) in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 528
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.Program.MainProc(Object Param) in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\Program.cs:line 132
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 708
    ExceptionUtils.PrintExceptionInfo:    at AutomationTool.Program.Main() in C:\Unreal Projects\Engines\UE_4.18.3_hairworks\Engine\Source\Programs\AutomationTool\Program.cs:line 62
    ExceptionUtils.PrintExceptionInfo:    data: EpicGames.Context = System.Collections.Generic.List`1[System.String]
    ExceptionUtils.PrintExceptionInfo: ==============================================================================
    Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
    Currently, we are using the binary build helper with the following options: win64 only, including DDC and clean build.

    We need a rocket build to work on a team project with a customized engine using perforce for source control right? Any help pointing us in the right direction would be appreciated.

    Update for anyone running into the same problem:
    The problem was me executing the automation tool directly. Adjusted my build targets to host platform only and executed the RunUAT.bat and it worked fine!
    Last edited by Darkazz; 03-01-2018, 11:26 PM. Reason: Fixed my Issue

  • replied
    I ended up upgrading my engine source from UE4.22.1 to UE4.22.3 and that fixed some errors I was only getting on a rocket build.

    Leave a comment:


  • replied
    Hi! Would you be so kind to share the command that worked for you in the end? I am getting the exact same error (On 4.20 however).

    The command I am running is:
    Code:
    RunUAT.bat BuildGraph -target="Make Installed Build Win64" -script=Engine/Build/InstalledEngineBuild.xml -clean -set:HostPlatformOnly=true

    Leave a comment:

Working...
X