Packaging Error AutomationTool Win-64

Hello! I met some problem when I package my own project as well as default examples.
OS:Win8.1 64-Bit VS2015

It has been confusing me for two weeks.Need Help,Thank you.

UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…
UATHelper: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=F:/InventShooter/InventShooter/InventShooter.uproject BuildCookRun -nocompileeditor -nop4 -project=F:/InventShooter/InventShooter/InventShooter.uproject -cook -stage -archive -archivedirectory=F:/Output -package -clientconfig=Development -ue4exe=UE4
Editor-Cmd.exe -SkipCookingEditorContent -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output -compile
UATHelper: Packaging (Windows (64-bit)): Automation.Process: Setting up command environment.
UATHelper: Packaging (Windows (64-bit)): ScriptCompiler.FindAndCompileScriptModules: Compiling scripts.
UATHelper: Packaging (Windows (64-bit)): MSBuild: DotNETUtilities → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\DotNETUtilities.dll
UATHelper: Packaging (Windows (64-bit)): MSBuild: UnrealBuildTool → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\UnrealBuildTool.exe
UATHelper: Packaging (Windows (64-bit)): MSBuild: AutomationUtils.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationUtils.Automation.dll
UATHelper: Packaging (Windows (64-bit)): MSBuild: AllDesktop.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\AllDesktop\AllDesktop.Automation.dll
UATHelper: Packaging (Windows (64-bit)): MSBuild: Localization.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\Localization.Automation.dll
UATHelper: Packaging (Windows (64-bit)): MSBuild: OneSkyLocalization.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\OneSkyLocalization.Automation.dll
UATHelper: Packaging (Windows (64-bit)): MSBuild: AutomationScripts.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll
UATHelper: Packaging (Windows (64-bit)): MSBuild: Android.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\Android\Android.Automation.dll
UATHelper: Packaging (Windows (64-bit)): MSBuild: CSC : error CS0016: δ��д������ļ���f:\UnrealEngine-4.14\Engine\Source\Programs\AutomationTool\BuildGraph\obj\Development\BuildGraph.Automation.dll��–����һ����������ʹ�ô��ļ��������޷����ʡ� �� [F:\UnrealEngine-4.14\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.Automation.csproj]
UATHelper: Packaging (Windows (64-bit)): MSBuild: HTML5.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\HTML5\HTML5.Automation.dll
UATHelper: Packaging (Windows (64-bit)): MSBuild: MobileDeviceInterface → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\IOS\MobileDeviceInterface.dll
UATHelper: Packaging (Windows (64-bit)): MSBuild: IOS.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\IOS\IOS.Automation.dll
UATHelper: Packaging (Windows (64-bit)): MSBuild: Linux.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\Linux\Linux.Automation.dll
UATHelper: Packaging (Windows (64-bit)): MSBuild: Mac.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\Mac\Mac.Automation.dll
UATHelper: Packaging (Windows (64-bit)): MSBuild: TVOS.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\TVOS\TVOS.Automation.dll
UATHelper: Packaging (Windows (64-bit)): MSBuild: XLocLocalization.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\XLocLocalization.Automation.dll
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 1.038271s to run MSBuild.exe, ExitCode=1
UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Failed to build “F:\UnrealEngine-4.14\Engine\Source\Programs\AutomationTool\Scripts\UAT.proj”:
UATHelper: Packaging (Windows (64-bit)): DotNETUtilities → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\DotNETUtilities.dll
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\UnrealBuildTool.exe
UATHelper: Packaging (Windows (64-bit)): AutomationUtils.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationUtils.Automation.dll
UATHelper: Packaging (Windows (64-bit)): AllDesktop.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\AllDesktop\AllDesktop.Automation.dll
UATHelper: Packaging (Windows (64-bit)): Localization.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\Localization.Automation.dll
UATHelper: Packaging (Windows (64-bit)): OneSkyLocalization.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\OneSkyLocalization.Automation.dll
UATHelper: Packaging (Windows (64-bit)): AutomationScripts.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll
UATHelper: Packaging (Windows (64-bit)): Android.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\Android\Android.Automation.dll
UATHelper: Packaging (Windows (64-bit)): CSC : error CS0016: δ��д������ļ���f:\UnrealEngine-4.14\Engine\Source\Programs\AutomationTool\BuildGraph\obj\Development\BuildGraph.Automation.dll��–����һ����������ʹ�ô��ļ��������޷����ʡ� �� [F:\UnrealEngine-4.14\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.Automation.csproj]
UATHelper: Packaging (Windows (64-bit)): HTML5.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\HTML5\HTML5.Automation.dll
UATHelper: Packaging (Windows (64-bit)): MobileDeviceInterface → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\IOS\MobileDeviceInterface.dll
UATHelper: Packaging (Windows (64-bit)): IOS.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\IOS\IOS.Automation.dll
UATHelper: Packaging (Windows (64-bit)): Linux.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\Linux\Linux.Automation.dll
UATHelper: Packaging (Windows (64-bit)): Mac.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\Mac\Mac.Automation.dll
UATHelper: Packaging (Windows (64-bit)): TVOS.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\TVOS\TVOS.Automation.dll
UATHelper: Packaging (Windows (64-bit)): XLocLocalization.Automation → F:\UnrealEngine-4.14\Engine\Binaries\DotNET\AutomationScripts\XLocLocalization.Automation.dll
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.ScriptCompiler.FindAndCompileScriptModules(String ScriptsForProjectFileName, List1 AdditionalScriptsFolders) 位置 F:\UnrealEngine-4.14\Engine\Source\Programs\AutomationTool\AutomationUtils\ScriptCompiler.cs:行号 173 UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.ScriptCompiler.FindAndCompileAllScripts(String ScriptsForProjectFileName, List1 AdditionalScriptsFolders) 位置 F:\UnrealEngine-4.14\Engine\Source\Programs\AutomationTool\AutomationUtils\ScriptCompiler.cs:行号 82
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.Automation.Process(String[] Arguments) 位置 F:\UnrealEngine-4.14\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:行号 486
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.Program.MainProc(Object Param) 位置 F:\UnrealEngine-4.14\Engine\Source\Programs\AutomationTool\Program.cs:行号 135
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) 位置 F:\UnrealEngine-4.14\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:行号 704
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.Program.Main() 位置 F:\UnrealEngine-4.14\Engine\Source\Programs\AutomationTool\Program.cs:行号 59
UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Error

Lilinayuy,

  • Is this happening only in this project?
  • If you’re not sure, please try to create a new blank project and package.
  • Is this happening in a blueprint or a c++ project? If it’s happening in one, try the other, please.
  • Does this only happen in 4.14? Or has it happened in 4.13 as well?

Please delete your Intermediate and Saved folders from your project and try to repackage. Let me know if that does not work.

Thanks!

Hey Lilinayuy,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

Sorry for take a long time to response.
The problem happened in all C++ project. Include new project without modifying.
Blueprint projects seems works well.
I used 4.7 one years ago and could package successfully.
I‘m now downloading v4.14.1 to have a try.

Let us know if 4.14.1 works well for you. Thanks!

4.14.1 failed.
But finally I got the point.
I should run ue4-editor.exe directly then open the project instead of run the project from Visual Studio.
In this way, Everything is OK. I can package my project now.
Thank you for your help~

You’re welcome. Let us know if you have any additional questions.

Project.Cook: Cook failed. Deleting cooked data.
UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Cook failed. —> AutomationTool.AutomationException: BUILD FAILED: Failed while running Cook for E:\work\code\SockeTestDemo\SockeTestDemo.uproject; see log C:\Users\admin\AppData\Roaming\Unreal Engine\AutomationTool\Log
s\D+Epic+Epic+Games+UE_4.15\Cook-2017.03.10-16.12.52.txt
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters)
UATHelper: Packaging (Windows (64-bit)): 在 AutomationTool.CommandUtils.CookCommandlet(FileReference ProjectName, String UE4Exe, String[] Maps, String[] Dirs, String InternationalizationPreset, String[] CulturesToCook, String TargetPlatform, String Parameters)
UATHelper: Packaging (Windows (64-bit)): 在 Project.Cook(ProjectParams Params)

I get the same error, were you able to resolve it?