x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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 :)

Thanks in advance for your answer Greetings Cloudy

Product Version: UE 4.15
Tags:
more ▼

asked Mar 22 '17 at 03:10 PM in Packaging & Deployment

avatar image

Cloudy McStrife
465 12 12 36

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

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




more ▼

answered Jun 22 '18 at 02:27 AM

avatar image

Nonlin
84 7 16 18

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question