# RunUAT.bat ERROR: AutomationTool was unable to run

**URL:** <https://forums.unrealengine.com/t/runuat-bat-error-automationtool-was-unable-to-run/345493>\
**Category:** Platform & Builds\
**Tags:** automation-tool, error-building, unreal-engine, question\
**Created:** [January 27, 2016, 1:08am UTC](https://forums.unrealengine.com/t/runuat-bat-error-automationtool-was-unable-to-run/345493 "2016-01-27T01:08:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![R189](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@R189](https://forums.unrealengine.com/u/R189)\
**Post date:** [January 27, 2016, 1:08am UTC](https://forums.unrealengine.com/t/runuat-bat-error-automationtool-was-unable-to-run/345493/1 "2016-01-27T01:08:58Z")

</div>

I have installed UE4 v10 on both mac and PC.

On the PC I have been following several tutorials

At the end of one such Tutorial I attempted to compile on the PC for Windows (I am running Win 8.1).

## And almost immediately get:

## “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”

I then copied the same directory to the Mac and was able to compile on the Mac successfully.

Obviously there is an issue with the PC setup in some way.

I turned off any anti virus software when compiling - to no avail…

any thoughts?

---

<div class="post-metadata">

**Author:** ![R189](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@R189](https://forums.unrealengine.com/u/R189)\
**Post date:** [January 27, 2016, 8:44pm UTC](https://forums.unrealengine.com/t/runuat-bat-error-automationtool-was-unable-to-run/345493/2 "2016-01-27T20:44:00Z")

</div>

I got the answer from other earlier posts…

Visual Studio does not automatically install the compliler for C++.

You must go into VS and manually install this complier.

Once done, the UE4 compile works like a charm!!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_764ee56a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_764ee56a](https://forums.unrealengine.com/u/anonymous_user_764ee56a)\
**Post date:** [March 4, 2016, 11:31pm UTC](https://forums.unrealengine.com/t/runuat-bat-error-automationtool-was-unable-to-run/345493/3 "2016-03-04T23:31:12Z")

</div>

For me, I had to add the maps to the packaging settings.  
Worked fine after that.

---

<div class="post-metadata">

**Author:** ![MisterPixel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/misterpixel/32/629747_2.png) [@MisterPixel](https://forums.unrealengine.com/u/MisterPixel)\
**Post date:** [February 15, 2024, 10:23am UTC](https://forums.unrealengine.com/t/runuat-bat-error-automationtool-was-unable-to-run/345493/4 "2024-02-15T10:23:25Z")

</div>

I have the same issue after the latest Visual Studio update ☹ But I managed to fix it by looking through other forum posts. So, what worked for me was changing the **Global Default Server Game Mode** to _GameModeBase_, as it was set to _None_ (I renamed my project recently so that’s why it lost this setting).
