RunUAT.bat ERROR: AutomationTool was unable to run

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?

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!!!

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

I have the same issue after the latest Visual Studio update :frowning: 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).