Cannot package Plugin

Hey guys,

i have a problem, where I cannot package my custom plugin. Unfortunately I didn’t find a fix provided by other users.

My plugin consists of two Modules: Runtime and Editor

Everytime I try to package the plugin I get some Errors:

UATHelper: Package Plugin Task (Windows): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files\Epic Games\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game IOS Development -project="C:\VisualogUE\HostProject\HostProject.uproject"  -module Visual
ogUE_RT -receipt C:\VisualogUE\HostProject\Plugins\VisualogUE\Binaries\IOS\UE4Game.target -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.03.22-15.51.19.txt' 
UATHelper: Package Plugin Task (Windows):    bei AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\ProcessUti
ls.cs:Zeile 907.
UATHelper: Package Plugin Task (Windows):    bei AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Au
tomationUtils\ProcessUtils.cs:Zeile 860.
UATHelper: Package Plugin Task (Windows):    bei AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\UBTUtils.cs:Zeile 51.
UATHelper: Package Plugin Task (Windows):    bei BuildPlugin.CompilePluginWithUBT(FileReference HostProjectFile, FileReference HostProjectPluginFile, PluginDescriptor Plugin, String TargetName, TargetType TargetType, UnrealTargetPlatform Platform, UnrealTargetConfiguration Configuration, List`1 ReceiptFileNames, String InAdditionalArgs) in C:\Program Files\E
pic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\BuildPluginCommand.Automation.cs:Zeile 190.
UATHelper: Package Plugin Task (Windows):    bei BuildPlugin.CompilePlugin(FileReference HostProjectFile, FileReference HostProjectPluginFile, PluginDescriptor Plugin, List`1 HostPlatforms, List`1 TargetPlatforms, String AdditionalArgs) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\BuildPluginCommand.Automation.cs:Zeile
 143.
UATHelper: Package Plugin Task (Windows):    bei BuildPlugin.ExecuteBuild() in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Scripts\BuildPluginCommand.Automation.cs:Zeile 90.
UATHelper: Package Plugin Task (Windows):    bei AutomationTool.BuildCommand.Execute() in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:Zeile 100.
UATHelper: Package Plugin Task (Windows):    bei AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:Zeile 561.
UATHelper: Package Plugin Task (Windows):    bei AutomationTool.Automation.Process(String[] Arguments) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:Zeile 531.
UATHelper: Package Plugin Task (Windows):    bei AutomationTool.Program.MainProc(Object Param) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Program.cs:Zeile 135.
UATHelper: Package Plugin Task (Windows):    bei AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:Zeile 704.
UATHelper: Package Plugin Task (Windows):    bei AutomationTool.Program.Main() in C:\Program Files\Epic Games\UE_4.15\Engine\Source\Programs\AutomationTool\Program.cs:Zeile 59.
UATHelper: Package Plugin Task (Windows): Program.Main: AutomationTool exiting with ExitCode=5 (5)
UATHelper: Package Plugin Task (Windows): BUILD FAILED

I hope somebody can help me so I can finally finish my project :slight_smile:

Thanks in advance for your answer
Greetings Cloudy

Since the whitelist nor blacklist didn’t work for me, here is what did.

I opened up CMD and used CD to get the path to where the exe runuat is. For me it was D:\UE_4.19\Engine\Build\BatchFiles. Once there you can type the following noting that the targetplatforms can be whatever target platforms you want to build to, in my case just Windows.

runuat BuildPlugin -plugin="Path to uplugin" -targetPlatforms=Win32+Win64 -package="path to package to" -rocket