How do I fix packaging for windows?

Hello,
I’m making a third person game and I need to package it for windows because of tests…
Sadly, it writes packaging error.
Please help.

Output log:

LogD3D11RHI: Timed out while waiting for GPU to catch up. (0.5 s)
LogRenderer: Reallocating scene render targets to support 944x456 (Frame:505).
MainFrameActions: Packaging (Windows (64-bit)): Running AutomationTool...
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: CWD=C:\Program Files (x86)\Epic Games\4.10\Engine\Binaries\DotNET
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: Exception in AutomationUtils.Automation: Another instance of C:\Program Files (x86)\Epic Games\4.10\Engine\Binaries\DotNET\AutomationTool.exe is already running.
MainFrameActions: Packaging (Windows (64-bit)): Stacktrace:    at AutomationTool.InternalUtils.RunSingleInstance(Action`1 Main, Object Param)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Program.Main()
MainFrameActions: Packaging (Windows (64-bit)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Windows (64-bit)): Program.NoThrow: ERROR: Exception performing nothrow action "Kill All Processes": Exception in AutomationUtils.Automation: Trying to access IsBuildMachine property before it was initialized.
MainFrameActions: Packaging (Windows (64-bit)): Stacktrace:    at AutomationTool.Automation.get_IsBuildMachine()
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.ProcessManager.KillAll()
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Program.NoThrow(Action Action, String ActionDesc)
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=Error_Unknown
MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit
MainFrameActions: Packaging (Windows (64-bit)): Unhandled Exception: 
MainFrameActions: Packaging (Windows (64-bit)): AutomationTool.AutomationException: Trying to access IsBuildMachine property before it was initialized.
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Automation.get_IsBuildMachine()
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.ProcessManager.KillAll()
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Program.Domain_ProcessExit(Object sender, EventArgs e)
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
PackagingResults:Error: Error Unknown Error

Thank you.
Martyss

Hello Martyss,

I have a few questions for you about this issue:

  1. Can you attach the entire crash log? There may be more errors elsewhere as this doesn’t give much context.
  2. Have you previously been able to package in the editor?
  3. Is this a C++ or Blueprint project? Does this error only occur with this project or any project you try to package?
  4. What OS/Version are you using?

I’ll be happy to assist you with this problem but I need to know this information first.

We haven’t heard from you in a while, Martyss. Could you provide the information I asked for in my previous comment so that I may assist you with this issue? In the meantime, I’ll be marking this issue as resolved for tracking purposes.