Original message (verbatim)
AutomationTool exiting with ExitCode=6 (6)
Placeholders such as %s / %d are kept verbatim from the engine source and are not replaced with concrete values.
Trigger
AutomationTool exits with code 6 during packaging or building, usually alongside a pre-command script compile, target platform setup, or missing environment issue.
Typical cause
UAT fails during initialization or script module loading before executing the command and returns the generic exit code 6; the specific exception in the log is needed to locate it.
Step-by-step fix
- Inspect the exception stack trace logged just before exit code 6.
- Confirm the engine version, target platform SDK, and build tools are fully installed.
- Clean Intermediate and DerivedDataCache, then retry the build.
Source links
Per-entry sources and capture date are listed at /sources#UE03.
Related errors
Related Unreal errors
Need an offline quick-reference checklist?
Atlas error library Pro pack: 123 error references (110 single + 13 merged) plus a quick-fix guide, $19 one-time purchase, delivered as electronic files.
Back to the all-errors index Checkout and buy the Pro pack — $19.00