Automation

Unreal AutomationTool

The Unreal AutomationTool (UAT) is a system to script the Unreal engine. It can be run from the command line with the RunUAT batch file. Commands given to UAT will be run sequentially. After a command arguments are listed. Commands exist in the form of commandlets .

Engine/Build/BatchFiles/RunUAT
RunUAT.bat Command1 [Arg1 Arg2...] Command2 [Arg3 Arg4…] ...
    • -Help Shows help and options for AutomationTool in general, or (when specified after a command name) help for that particular command.
    • -List Displays a list of all available AutomationTool commands.

Commandlet

Commandlets are command line program the run inside the Unreal Engine environment. They can be run from command line use UE4Editor-cmd with project file, -run=name and then parameters.

UE4Editor-cmd projectname -run=resavepackages -buildlighting -allowcommandletrendering -allmaps

BuildCookRun

Builds/Cooks/Runs a project.

BuildGraph

https://jackknobel.com/How-To/BuildGraph

* BuildGraph custom script

* Script (XML) based system part of UAT

* Samples in Engine/Build/Graph/Examples

* Agents: groups of nodes executed on the same build machine

* Nodes: Sequences of tasks

* Task: Build process step (updating, compiling, etc)

* BuildGraph InstallBuild script

* Like your own Unreal launcher

* Created to deploy non editable builds (Engine/Build/InstalledEgine/Build.xml)

* Easy for designers and artists

* Engine build only, not for projects.

* RunUAT BuildGraph

FixupRedirects

Resavepackages

This commandlets let us perform operation on selected assets and then re save them.

RebuildLightMaps

SyncProject

Links

    • github.com/AxRiff/UnrealEngineJenkins
    • github.com/jenkinsci/slack-plugin
    • github.com/codedance/retaliationgithub.com/gpageot/jenkinseu4
    • github.com/electronicarts/eacopy
    • https://www.slideshare.net/EpicGamesJapan/press-button-drink-coffee-an-overview-of-ue4-build-pipeline-and-maintenance