MainFrameActions: Packaging (Windows (64-bit)): RunUAT.bat ERROR: AutomationTool was unable to run successfully

Hello Unreal Community,
First i’m french so i apologize if i do mistakes.
Second i read the same problem in answerhub but i don’t understand. Third i can’t packaging my project because i have an error which appears. I tried to packaging for Windows 64-bit and Windows 32-bit and i encountered the same problem. In my point of view the problem is the line : MainFrameActions: Packaging (Windows (64-bit)): RunUAT.bat ERROR: AutomationTool was unable to run successfully. So here you have the end of my output log :

MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.05-20.22.34:931][ 0]LogModuleManager: Shutting down and abandoning module CoreUObject (5)
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.05-20.22.34:931][ 0]LogModuleManager: Shutting down and abandoning module NetworkFile (4)
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.05-20.22.34:932][ 0]LogModuleManager: Shutting down and abandoning module StreamingFile (3)
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.05-20.22.34:932][ 0]LogModuleManager: Shutting down and abandoning module SandboxFile (2)
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.05-20.22.34:932][ 0]LogModuleManager: Shutting down and abandoning module PakFile (1)
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2015.05.05-20.22.34:935][ 0]LogExit: Exiting.
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 580,0372686s to run UE4Editor-Cmd.exe, ExitCode=1
MainFrameActions: Packaging (Windows (64-bit)): Project.Cook: Cook failed. Deleting cooked data.
MainFrameActions: Packaging (Windows (64-bit)): ErrorReporter.Error: ERROR: AutomationTool error: Cook failed.
MainFrameActions: Packaging (Windows (64-bit)): BuildCommand.Execute: ERROR: BUILD FAILED
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: Exception in AutomationScripts.Automation: BUILD FAILED: Failed while running Cook for D:\Jeu\Kamigawa2_1\Kamigawa.uproject; see log C:\Users\Jean Luc\AppData\Roaming\Unreal Engine\AutomationTool\C+Program+Files+Epic+Games+4.7\Coo
MainFrameActions: Packaging (Windows (64-bit)): k.txt
MainFrameActions: Packaging (Windows (64-bit)): Stacktrace: à Project.Cook(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)): à BuildCookRun.DoBuildCookRun(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)): à BuildCommand.Execute()
MainFrameActions: Packaging (Windows (64-bit)): à AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
MainFrameActions: Packaging (Windows (64-bit)): à AutomationTool.Automation.Process(String[] CommandLine)
MainFrameActions: Packaging (Windows (64-bit)): à AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Windows (64-bit)): à AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param)
MainFrameActions: Packaging (Windows (64-bit)): à AutomationTool.Program.Main()
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: BUILD FAILED: Failed while running Cook for D:\Jeu\Kamigawa2_1\Kamigawa.uproject; see log C:\Users\Jean Luc\AppData\Roaming\Unreal Engine\AutomationTool\C+Program+Files+Epic+Games+4.7\Cook.txt
MainFrameActions: Packaging (Windows (64-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=25
MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit
MainFrameActions: Packaging (Windows (64-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Windows (64-bit)): copying UAT log files…
MainFrameActions: Packaging (Windows (64-bit)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
MainFrameActions: Packaging (Windows (64-bit)): BUILD FAILED

Thank You for Watching.:slight_smile:

Hey,

Which version of the Engine are you working within? Would you please be able to provide us with the full error , add them to your next reply as a .txt file. Also, could you please provide us the exact steps you’ve taken to receive this error?

Looking forward to hearing from you, thanks! :slight_smile:

Hi ,
Thank you for watching !
I work with the 4.7.6 version. Next i create the file .txt like you want (the file is to large to be upload here 17Mo). Here you have the download link:
http://www.mediafire.com/view/08otuqi528o3iy3/Bug_Packaging_Outlog.txt .
To clarify, errors occur when i change the blueprint in the « World Override » because my game requires several pawn and HUD.
Cordially,

Hey,

Thank you for uploading your error for me. After reviewing the , I see that some of your naming conventions aren’t standard for UE4. Any file names that you have with special characters and spaces I would suggest correcting that.

For Example: FAILED: '/Game/Maps/NYCZombiesAttack2 - Copie' is not a standard unreal filename or a long path name. Reason: Name may not contain the following characters:

I would suggest changing that to “NYCZombiesAttack2Copie”.

Also, I noticed that the engine can’t find these files. Did you move or delete them?

  • Object /Game/ArchVis/Mesh/Statue.Statue.
  • /Game/Architecture/SM_Floor_400x400

Once you’ve looked over this information and corrected the file names, and the missing files, please try and package again. If you run into another error packaging, please upload those error as well, so we can continue to investigate.

Looking forward to hearing back from you, thanks! :slight_smile:

Hello ,
Thank you for your help !
First I renamed the level NYCZombiesAttack2.
Second I have not found files with special character in the content browser.
Third i have not found too this files corresponding to the paths:
Object /Game/ArchVis/Mesh/Statue.Statue.
/Game/Architecture/SM_Floor_400x400
Certainly i erased it.
When i raise the packaging i find the same error.
You have the second Output log:

Hey,

Your link is set to private I believe, it doesn’t allow me to download the error . Do you have any of your assets in game still referencing the deleted meshes and materials by any ?

Looking forward to hearing back from you, let me know when I can download those .

Thanks!

Hey Antonie,

Were you able to resolve your packaging issue on your own?

I deleted the level NYCZombieAttack like you want and i could packaging my game. Thank You a lot! You could set the topic resolved.

Hey,

I’m glad that you were able to rename your level and it packaged for you. If you run into any further problems, do not hesitate to reply back to us.

Have a wonderful week! :slight_smile:

Hi ,
Hope you’re going well,
Since 4.8 version i can’t package the game,
What’s going wrong?
Thanks a lot,
You have my Output Log here

Hey,

I have spoken with our developers and it’s been verified that this issue is known and it’s been corrected. You shouldn’t run into this issue anymore if you’ve upgraded to 4.8 Preview 4.

If you have any further questions, please let us know! Have a wonderful day! :slight_smile:

Since I installed version 4.8 preview 4 and I downloaded my updates nvidia windows and everything works fine. You can close this topic. I do not know how much I thank you for all your monitoring and advice. A big thank you to the team and especially to Unreal you . Thank you a lot :slight_smile:

You’re very welcome for all of the assistance provided. I hope you enjoy the rest of your week. :slight_smile: