Download

Cooking Error 5, Fails to Compile With Steam Plugin (4.13.2)

Hey everyone,

I’m trying to compile my blueprint project and it works fine when I disable the Steam Online Subsystem plugin (which is included with the engine). I’ve moved the plugin files to my project directory, instead of the engine directory, but haven’t done anything otherwise to it. Also I did try it with the plugin in the engine folder, but it failed with the same error then, as well as a couple others which moving it fixed. Here are the lines from the output log when it fails:


UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: C:\Program Files (x86)\EscapeSierraLeone\Plugins\OnlineSubsystemSteam\Source\Private\OnlineUserCloudInterfaceSteam.cpp(357): error C2664: 'bool ISteamRemoteStorage::GetQuota(uint64 *,uint64 *)': cannot convert argument 1 from 'int32 *' to 'uint64 *'
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: C:\Program Files (x86)\EscapeSierraLeone\Plugins\OnlineSubsystemSteam\Source\Private\OnlineUserCloudInterfaceSteam.cpp(357): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\Program Files (x86)\EscapeSierraLeone\Binaries\Win64\EscapeSierraLeone-Win64-Shipping.pdb
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Total build time: 26.30 seconds
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 26.4445125s 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 (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe EscapeSierraLeone Win64 Shipping
UATHelper: Packaging (Windows (64-bit)):  -Project="C:\Program Files (x86)\EscapeSierraLeone\EscapeSierraLeone.uproject"  "C:\Program Files (x86)\EscapeSierraLeone\EscapeSierraLeone.uproject"  -remoteini="C:\Program Files (x86)\EscapeSierraLeone" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.01.10-20.22.53.txt' 
UATHelper: Packaging (Windows (64-bit)):    at 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)):    at 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)):    at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
UATHelper: Packaging (Windows (64-bit)):    at 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)):    at 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, Dictionary`2 EnvVars)
UATHelper: Packaging (Windows (64-bit)):    at 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 InChangelistNumberOverride, Dictio
nary`2 InTargetToManifest)
UATHelper: Packaging (Windows (64-bit)):    at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
UATHelper: Packaging (Windows (64-bit)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Process(String] Arguments)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Windows (64-bit)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Windows (64-bit)):    at 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

Any ideas? Has anyone had any success with getting the Steam plugin working in 4.13.2? Thanks!

Adam

I am having the exact same error. You found a fix?

Are you guys copying the steam dll file over from a client or just using what the plugin does in its own? If I recall you don’t copy the updated steam stuff just enable the plugin.