x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

AutomationTool Error

I am getting an automation tool error when packing games.Please help me.

LOG :

MainFrameActions: Packaging (Windows (64-bit)): Running AutomationTool... MainFrameActions: Packaging (Windows (64-bit)): Program.Main: 2017-01-22T11:51:58.6284456Z: Running on WindowsHostPlatform as a 64-bit process. MainFrameActions: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=C:/Users/NAZIM/Documents/Unreal Projects/oyunum1/oyunum1.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=C:/Users/NAZIM/Documents/Unreal Projects/oyunum1/oyun MainFrameActions: Packaging (Windows (64-bit)): um1.uproject -cook -stage -archive -archivedirectory=C:/Users/NAZIM/Desktop/oyunum1 -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -compressed -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output MainFrameActions: Packaging (Windows (64-bit)): Automation.Process: Setting up command environment. MainFrameActions: Packaging (Windows (64-bit)): Automation.Process: Compiling scripts. MainFrameActions: Packaging (Windows (64-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\NAZIM\Documents\Unreal Projects\oyunum1\oyunum1.uproject MainFrameActions: Packaging (Windows (64-bit)): Project.Build: BUILD COMMAND STARTED MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.11\Engine\Binaries\DotNET\UnrealBuildTool.exe MainMenu Win64 Development -Project="C:\Users\NAZIM\Documents\Unreal Projects\oyunum1\oyunum1.uproject" "C:\Users\NAZIM\Documents\Unreal Projects\oyunum1\oyunum1.uproject" -remoteini="C:\Users\NAZIM\Docume nts\Unreal Projects\oyunum1" -noxge -generatemanifest -NoHotReloadFromIDE MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Performing full C++ include scan (building a new target) MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 3,155245s to run UnrealBuildTool.exe, ExitCode=0 MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.11\Engine\Binaries\DotNET\UnrealBuildTool.exe MainMenu Win64 Development -Project="C:\Users\NAZIM\Documents\Unreal Projects\oyunum1\oyunum1.uproject" "C:\Users\NAZIM\Documents\Unreal Projects\oyun MainFrameActions: Packaging (Windows (64-bit)): um1\oyunum1.uproject" -remoteini="C:\Users\NAZIM\Documents\Unreal Projects\oyunum1" -noxge -NoHotReloadFromIDE -ignorejunk MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Creating makefile for MainMenu (.uproject file is newer) MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Performing full C++ include scan (no include cache file) MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Performing 9 actions (2 in parallel) MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: PCH.UELinkerFixupsName.h.cpp MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: PCH.MainMenu.h.cpp MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: UELinkerFixups.cpp MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Module.MainMenuLib.cpp MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: MainMenuLib.generated.cpp MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: MainMenu.cpp MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: C:\Users\NAZIM\Documents\Unreal Projects\oyunum1\Source\MainMenu\MainMenu.cpp: error C4599: '/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 144 does not match precompiled header MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: MainMenuGameMode.cpp MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: C:\Users\NAZIM\Documents\Unreal Projects\oyunum1\Source\MainMenu\MainMenuGameMode.cpp: error C4599: '/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 144 does not match precompiled header MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: MainMenu.generated.cpp MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: C:\Users\NAZIM\Documents\Unreal Projects\oyunum1\Intermediate\Build\Win64\UE4\Inc\MainMenu\MainMenu.generated.cpp: error C4599: '/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 144 does not match precompiled header MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: -------- End Detailed Actions Stats ----------------------------------------------------------- MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Users\NAZIM\Documents\Unreal Projects\oyunum1\Binaries\Win64\MainMenu.pdb MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Total build time: 160,55 seconds MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 160,7830648s to run UnrealBuildTool.exe, ExitCode=5 MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:5): C:\Program Files (x86)\Epic Games\4.11\Engine\Binaries\DotNET\UnrealBuildTool.exe MainMenu Win64 Development -Project="C:\Users\NA MainFrameActions: Packaging (Windows (64-bit)): ZIM\Documents\Unreal Projects\oyunum1\oyunum1.uproject" "C:\Users\NAZIM\Documents\Unreal Projects\oyunum1\oyunum1.uproject" -remoteini="C:\Users\NAZIM\Documents\Unreal Projects\oyunum1" -noxge -NoHotReloadFromIDE -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.01.22-14.52.07.txt' MainFrameActions: Packaging (Windows (64-bit)): konum: AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars) MainFrameActions: Packaging (Windows (64-bit)): konum: AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) MainFrameActions: Packaging (Windows (64-bit)): konum: 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) MainFrameActions: Packaging (Windows (64-bit)): konum: AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars) MainFrameActions: Packaging (Windows (64-bit)): konum: Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) MainFrameActions: Packaging (Windows (64-bit)): konum: BuildCookRun.DoBuildCookRun(ProjectParams Params) MainFrameActions: Packaging (Windows (64-bit)): konum: AutomationTool.BuildCommand.Execute() MainFrameActions: Packaging (Windows (64-bit)): konum: AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) MainFrameActions: Packaging (Windows (64-bit)): konum: AutomationTool.Automation.Process(String[] CommandLine) MainFrameActions: Packaging (Windows (64-bit)): konum: AutomationTool.Program.MainProc(Object Param) MainFrameActions: Packaging (Windows (64-bit)): konum: AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) MainFrameActions: Packaging (Windows (64-bit)): konum: AutomationTool.Program.Main() MainFrameActions: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=5 (5) MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit MainFrameActions: Packaging (Windows (64-bit)): copying UAT log files... MainFrameActions: Packaging (Windows (64-bit)): BUILD FAILED PackagingResults:Error: Error Unknown Error ,Hi

Product Version: UE 4.11
Tags:
more ▼

asked Jan 23 '17 at 02:52 AM in Packaging & Deployment

avatar image

ikizler982
1 1 4 4

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hello ikizler982,

From looking at the log, there seem to be multiple messages about precompiled header conflicts, such as this one:

UnrealBuildTool: C:\Users\NAZIM\Documents\Unreal Projects\oyunum1\Source\MainMenu\MainMenuGameMode.cpp: error C4599: '/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 144 does not match precompiled header

Can you try generating your project files again to see if it may solve this conflict? To do so, navigate to your project folder and delete the Intermediates folder and then right-click the .uproject file to select "Generate Visual Studio Project Files". After this, try compiling your project and packaging again.

more ▼

answered Jan 23 '17 at 08:05 PM

avatar image

Matthew J ♦♦ STAFF
31.8k 526 92 417

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question