RunUAT.bat ERROR: AutomationTool was unable to run successfully

Please help me! Im using win8.1 x64. When im trying to package my game for win i awlays got this error: " MainFrameActions: Packaging (Windows): RunUAT.bat ERROR: AutomationTool was unable to run successfully. MainFrameActions: Packaging (Windows): BUILD FAILED "
Screenshot:

help? T_T

I posted this in another thread, but I will repost it here.
I received same error. I solved it with a fresh install of VSExpress 2013:

This resulted in a successful build for me, hopefully it works for you.

“Switch configuration of UE4.sln from “Development Editor” to “Development” and recompile, your problem will be solved. configuration is “Development Editor” by default, and it includes only editor.”
I did this and it fixed it !!! Thank you!

How do I do that Dingir8 ?
That config switch.

Hey DiabloInc,

That’s Solution Configuration drop down in Visual Studio.

That worked like a charm. Thank you both for input on this.

Using Development config makes lots of errors during compilation for me that i do not have otherwise :

[2014.04.04-16.24.10:971][600]LogMainFrame: MainFrame: Module compiling took 5.075 seconds
[2014.04.04-16.24.10:971][600]CompilerResultsLog: New page: Compilation - Apr 5, 2014, 8:24:10 AM
[2014.04.04-16.24.10:971][600]CompilerResultsLog: Info link.exe UE4Editor-DEGame-193.dll
[2014.04.04-16.24.10:972][600]CompilerResultsLog:Error: Error DE_Game.h.obj : error LNK2001: unresolved external symbol "public: static class FVector const FVector::ZeroVector" (?ZeroVector@FVector@@2V1@B)
[2014.04.04-16.24.10:972][600]CompilerResultsLog:Error: Error DEGameCharacter.cpp.obj : error LNK2001: unresolved external symbol "public: static class FVector const FVector::ZeroVector" (?ZeroVector@FVector@@2V1@B)
[2014.04.04-16.24.10:972][600]CompilerResultsLog:Error: Error DEGameCharacter.cpp.obj : error LNK2001: unresolved external symbol "public: static class FColor const FColor::Red" (?Red@FColor@@2V1@B)
[2014.04.04-16.24.10:972][600]CompilerResultsLog:Error: Error DE_MainWidget.cpp.obj : error LNK2001: unresolved external symbol "public: static class FColor const FColor::Yellow" (?Yellow@FColor@@2V1@B)

There is a lot more of them but there are same kind on different files, so i can’t test this solution and i’m still unable to “launch” game.

After switching from “Development Editor” to “Development”, try using “Rebuild Solution” option in VS instead of just “Build”.

yes those error were from a “rebuild Solution”, somehow right now it reduce to this one :

1> Creating library E:\DEGame\DEGame\degame\Binaries\Win64\DEGame.lib and object E:\DEGame\DEGame\degame\Binaries\Win64\DEGame.exp
1>UELinkerFixups.cpp.obj : error LNK2019: unresolved external symbol “void __cdecl EmptyLinkFunctionForStaticInitializationDEGame(void)” (?EmptyLinkFunctionForStaticInitializationDEGame@@YAXXZ) referenced in function “void __cdecl UELinkerFixups(void)” (?UELinkerFixups@@YAXXZ)

I have no idea how to correct this kind of error :confused:
With “Developement Editor” i don’t have compilation errors

Any ideas how to fix this issue if I’m not using Visual Studio. I’m not a coder I’m just using standard editor.

I have same issue – I have zero code, just a level with some buildings. I don’t have any sort of blueprints at all. I can build an empty project, but my level with simple brushes and meshes doesn’t.

Can you attach log file from your failed build? Thanks!

I am getting this error since moving to 4.3 and building on android. Had no problems before that. I haven’t got visual studio nor have I ever written any C++. Does anyone know a solution for this without it?

Hey bazmod,

Can you attach log file from your failed build? Thanks!

Thanks for reply, my log is attached.

I’ve found that if I delete my project and grab it again from backup it will work, but as soon as I change anything in project settings it then fails. Changing things in project settings back to how they were before doesn’t fix it either, I have to delete entire project and grab it again. Its almost as though making a change in project settings corrupts something link text

Thanks for tip. I’ve just tried deleting all my maps except one but that didn’t make any difference unfortunately.

Hi folks,

So I’m not a coder but I did have this issue and after alot of trial and error I managed to fix it.

I tried installing Visual studio as mentioned a few posts ago but that made no difference. What fixed it for me was that I had made iterations of my map files and that was causing issue.

Basically if I started with FPS template which created example.udk map file game would build correctly.

If I wanted to make a few changes and save a few more versions example2.udk etc. It would eventually throw up “RunUAT.bat ERROR: AutomationTool was unable to run successfully.”

So I tried to fix it by making a subfolder in my map folder called WIP maps - but even when example.udk map was only one in there it would still throw error. What I do now is make my WIP map folder in a completely non Unreal related folder elsewhere on my drive and only keep example.udk file in map folder and it builds fine every time for me now.

Hope that helps. Message me if you want to know more.

Did you overwrite first map you made too - example.udk that seems to help too…