# AutomationTool Exited with ExitCode 6

**URL:** <https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** unreal-engine, UE4-26, question\
**Created:** [January 22, 2022, 4:44am UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119 "2022-01-22T04:44:05Z")\
**Posts on this page:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![Xueshaoshan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xueshaoshan](https://forums.unrealengine.com/u/Xueshaoshan)\
**Post date:** [May 10, 2023, 4:45am UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119/21 "2023-05-10T04:45:03Z")

</div>

Excuse me, where should I add this parameter?

---

<div class="post-metadata">

**Author:** ![yiliu\_91805](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yiliu\_91805](https://forums.unrealengine.com/u/yiliu_91805)\
**Post date:** [May 15, 2023, 3:11pm UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119/22 "2023-05-15T15:11:19Z")

</div>

works!

---

<div class="post-metadata">

**Author:** ![Manoloon](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/manoloon/32/1001796_2.png) [@Manoloon](https://forums.unrealengine.com/u/Manoloon)\
**Post date:** [May 22, 2023, 5:44am UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119/23 "2023-05-22T05:44:55Z")

</div>

this is my command line: G:\ProgramFiles\Epic\UE\_5.0\Engine\Build\BatchFiles\RunUAT BuildCookRun -project=“G:\UnrealProjects\Tutos\DedicatedServer\DedicatedServer”.uproject -noP4 -configuration=Development -distribution -clean -build -stage -cook -platform=Win64 -archive -archivedirectory="E:\Package\5.0\coop"

---

<div class="post-metadata">

**Author:** ![gutoguedes](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gutoguedes](https://forums.unrealengine.com/u/gutoguedes)\
**Post date:** [July 4, 2023, 1:32pm UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119/25 "2023-07-04T13:32:33Z")

</div>

Eu já reconstruí pelo menos três vezes… Que coisa chata… de repente você faz algo e não volta mais…

---

<div class="post-metadata">

**Author:** ![Studio\_Marvin\_3D1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/studio_marvin_3d1/32/570015_2.png) [@Studio\_Marvin\_3D1](https://forums.unrealengine.com/u/Studio_Marvin_3D1)\
**Post date:** [August 29, 2023, 5:29am UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119/26 "2023-08-29T05:29:13Z")

</div>

Esse erro “ExitCode 6” aconteceu comigo e o problema era o caminho do projeto. Meu nome de usuário contém caracter especial, por isso minhas pasta de usuário também contém esse caractere. Quando movi a pasta do projeto pra raiz do meu disco C: consegui compilar sem nenhum problema. Fica aqui a dica caso alguém passe por essa mesma situação.

---

<div class="post-metadata">

**Author:** ![eldany.uy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eldany.uy/32/821920_2.png) [@eldany.uy](https://forums.unrealengine.com/u/eldany.uy)\
**Post date:** [November 10, 2023, 11:33pm UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119/27 "2023-11-10T23:33:06Z")

</div>

THIS IS THE ACTUAL SOLUTION  
TURN LIVE CODING OFF

jeez…

---

<div class="post-metadata">

**Author:** ![Kalistos12](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kalistos12](https://forums.unrealengine.com/u/Kalistos12)\
**Post date:** [December 29, 2023, 6:40pm UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119/28 "2023-12-29T18:40:20Z")

</div>

For me my sollution was to disable the build. Project Settings- Packaging - Build : Never. Once disabled packaging worked fine. I did the build manually before the packaging. Hope it helps for some 🙂

---

<div class="post-metadata">

**Author:** ![xahxz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@xahxz](https://forums.unrealengine.com/u/xahxz)\
**Post date:** [January 17, 2024, 3:39pm UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119/29 "2024-01-17T15:39:32Z")

</div>

Packaging works with Live coding enabled for me –

What solved the issue for me was removing unneeded includes in some of my C++ files. I was for example trying to include a blueprint widget header – my code compiled fine in visual studio, but when I went to package the game it really messed stuff up

Removing those headers fixed it

---

<div class="post-metadata">

**Author:** ![eldany.uy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eldany.uy/32/821920_2.png) [@eldany.uy](https://forums.unrealengine.com/u/eldany.uy)\
**Post date:** [January 18, 2024, 3:01pm UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119/30 "2024-01-18T15:01:00Z")

</div>

I think live coding error code 6 is with Rider

---

<div class="post-metadata">

**Author:** ![Robinsongs3d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Robinsongs3d](https://forums.unrealengine.com/u/Robinsongs3d)\
**Post date:** [February 25, 2024, 2:07pm UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119/31 "2024-02-25T14:07:57Z")

</div>

Hola a todos, yo tuve el mismo error, de verdad intente de todo… todas las respuestas aqui descritas y ninguna me funciono, hoy 24 de febrero de 2024 para mi la solucion fue instalar el visual studio 2022 asi como lo explica este tutorial [https://www.youtube.com/watch?v=HLwwpLYvY5Y](https://www.youtube.com/watch?v=HLwwpLYvY5Y)

---

<div class="post-metadata">

**Author:** ![LEIT](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/leit/32/1069506_2.png) [@LEIT](https://forums.unrealengine.com/u/LEIT)\
**Post date:** [July 2, 2024, 3:17am UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119/32 "2024-07-02T03:17:45Z")

</div>

I tried all of this stuff. Switching this option to never instantly solved my problem. Thank you so much! Now I can get back to actual work.

---

<div class="post-metadata">

**Author:** ![ghazou76](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ghazou76](https://forums.unrealengine.com/u/ghazou76)\
**Post date:** [August 27, 2024, 12:05am UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119/33 "2024-08-27T00:05:02Z")

</div>

which buld ? level build ?

---

<div class="post-metadata">

**Author:** ![AsGard\_Gods\_Of\_Gaming](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AsGard\_Gods\_Of\_Gaming](https://forums.unrealengine.com/u/AsGard_Gods_Of_Gaming)\
**Post date:** [August 27, 2024, 2:33pm UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119/34 "2024-08-27T14:33:52Z")

</div>

For me i had to disable plugin, Houdini for some reason

---

<div class="post-metadata">

**Author:** ![user\_1652a21bc82c5af2bb8fd55704bf3afd489fd1efafdc96bbb4a0a8](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/user_1652a21bc82c5af2bb8fd55704bf3afd489fd1efafdc96bbb4a0a8/32/934578_2.png) [@user\_1652a21bc82c5af2bb8fd55704bf3afd489fd1efafdc96bbb4a0a8](https://forums.unrealengine.com/u/user_1652a21bc82c5af2bb8fd55704bf3afd489fd1efafdc96bbb4a0a8)\
**Post date:** [January 28, 2026, 4:48am UTC](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119/35 "2026-01-28T04:48:16Z")

</div>

I checked EPIC’s resolution document according to the error report, and it prompted me that I was running out of virtual memory on the C drive, so I went to the system management to increase the virtual memory of the C drive and restarted, and then tried to package the cache of the content, and it was successful

[Previous page](https://forums.unrealengine.com/t/automationtool-exited-with-exitcode-6/274119.md?page=1)
