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"

Failed to produce item only with shooter game project

Hello! I just wanted to try packaging the shooter game example with the version of UE4.15. All of the other projects that I have are builded just fine. I do not have MODO plugin. I tried these steps, but didn't help:

Fix the redirectors (right click contents -> Fix redirections)

There is a warning about a Class none, that may be related to the redirections.

Disable most plug-ins

Sometimes it's been reported that Blueprints can fail compiling if they have underscore in their files (I have not had that issue personally)

Delete Binaries/Saved/Intermediate. Relaunch

Try Cook.

Here is the error message:

 UATHelper: Packaging (Windows (64-bit)): Running AutomationTool...
 LogCollectionManager: Rebuilt the object cache for 1 collections in 0.000002 seconds (found 0 objects)
 UATHelper: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=C:/UE4Projects/ShooterGame/ShooterGame.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=C:/UE4Projects/ShooterGame/ShooterGame.uproject -cook -stage -archive -archivedirectory=C:/UE4Projects/Builded -package -clientconfig=
 Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output
 UATHelper: Packaging (Windows (64-bit)): Automation.Process: Setting up command environment.
 UATHelper: Packaging (Windows (64-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for C:\UE4Projects\ShooterGame\ShooterGame.uproject
 UATHelper: Packaging (Windows (64-bit)): Project.Build: ********** BUILD COMMAND STARTED **********
 UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Program Files\Epic Games\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe ShooterGame Win64 Development -Project=C:\UE4Projects\ShooterGame\ShooterGame.uproject  C:\UE4Projects\ShooterGame\ShooterGame.uproject  -remoteini="C:\UE4Projects\ShooterGame" -noxge -generatemanifest -NoHotReload
 UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 6,0512605s to run UnrealBuildTool.exe, ExitCode=0
 UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Program Files\Epic Games\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe ShooterGame Win64 Development -Project=C:\UE4Projects\ShooterGame\ShooterGame.uproject  C:\UE4Projects\ShooterGame\ShooterGame.uproject  -remoteini="C:\UE4Projects\ShooterGame" -noxge -NoHotReload -ignorejunk
 UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Performing 1 actions (2 in parallel)
 UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: [1/1] Link ShooterGame.exe
 UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: LINK : fatal error LNK1181: cannot open input file 'zlibstatic.lib'
 UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\UE4Projects\ShooterGame\Binaries\Win64\ShooterGame.exe
 UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Total build time: 6,64 seconds (Local executor: 0,00 seconds)
 UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 7,0988923s to run UnrealBuildTool.exe, ExitCode=5
 UATHelper: Packaging (Windows (64-bit)): 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 ShooterGame Win64 Development -Project=C:\UE4Projects\ShooterGame\ShooterGame.uproject  C:\UE4Proj
 ects\ShooterGame\ShooterGame.uproject  -remoteini="C:\UE4Projects\ShooterGame" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.04.25-16.18.36.txt' 
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Diction
 ary`2 EnvVars)
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumbe
 rOverride, Dictionary`2 InTargetToManifest)
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: BuildCookRun.DoBuildCookRun(ProjectParams Params)
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: BuildCookRun.ExecuteBuild()
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.BuildCommand.Execute()
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.Automation.Process(String[] Arguments)
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.Program.MainProc(Object Param)
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
 UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.Program.Main()
 UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
 UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
 PackagingResults:Error: Error Unknown Error






Product Version: UE 4.15
Tags:
more ▼

asked Apr 25 '17 at 02:31 PM in Packaging & Deployment

avatar image

ChevCheliosSun
6 3 4 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

Hi ChevCheliosSun,

Here is another couple suggestions to try:

https://answers.unrealengine.com/questions/525456/fatal-error-lnk1181-cannot-open-input-file-zlibsta.html

https://answers.unrealengine.com/questions/578699/fatal-error-lnk1181-cannot-open-input-file-zlibsta-1.html

If that doesn't help:

Have you made any changes to the project or is a new version of Shooter Game? If you have, could you see if you also get the error with a new version?

more ▼

answered Apr 26 '17 at 08:36 PM

avatar image

TJ V ♦♦ STAFF
41k 1009 183 494

avatar image ChevCheliosSun Apr 30 '17 at 05:21 PM

Thanks a lot! The fix for my problem was to uninstall Visual Studio 2013, and set unreal engine project settings to build with vs2015 instead of 2017.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I Solved it in this way. I have visual studio 2017. Start a new Project . Empty. Clear and delete all. Set Physics and collisions if you have it. Go to the project with problem and migrate the root content to the new one.

Others erros can raise, but are diferent and specific with the real error. That works for me more than once.

Good Luck!

more ▼

answered May 17 '18 at 01:36 AM

avatar image

shark3ds
1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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