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"

Build attempts fail after adding Steam SDK

So I'm trying to add Steam multiplayer to my programming build. I followed the instructions but after that when I try to compile, I get the following error posted below. I've tried updating Visual Studio, claering out the binaries/saved/intermediate folders, removing unrelated plugins, and more. I can't figure out what else to try.

One thing I've noticed is that the instructions on adding the Steam SDK mentions bringing in 4 files from the redistributable_bin (steam_api64.dll, steamclient64.dll, tier0_s64.dll, and vstdlib_s64.dll) but I only see one of those files (steam_api64.dll, as well as steam_api64.lib) in that folder. But all attempts to find the other files have failed.

Here is the output I'm getting. The first actual error message is "ERROR: UBT ERROR: Failed to produce item: D:\Unreal Projects\MansionOfDoom\Binaries\Win64\MansionOfDoom.exe"

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 MansionOfDoom Win64 Development -Project="D:\Unreal Projects\MansionOfDoom\MansionOfDoom.uproject" "D:\Unreal Projects\MansionOfDoom\MansionOfDoom.uproject" -remoteini="D:\Unreal Projects\MansionOfDoom" -noxge -gene ratemanifest -NoHotReload UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 1.3574598s 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 MansionOfDoom Win64 Development -Project="D:\Unreal Projects\MansionOfDoom\MansionOfDoom.uproject" "D:\Unreal Projects\MansionOfDoom\MansionOfDoom.uproject" -remoteini="D:\Unreal Projects\MansionOfDoom" -noxge -NoHo tReload -ignorejunk UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Creating makefile for MansionOfDoom (changes to target files) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Performing 1 actions (4 in parallel) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: [1/1] Link MansionOfDoom.exe UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool:
Creating library D:\Unreal Projects\MansionOfDoom\Binaries\Win64\MansionOfDoom.lib and object D:\Unreal Projects\MansionOfDoom\Binaries\Win64\MansionOfDoom.exp UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UE4-OnlineSubsystemSteam.lib(Module.OnlineSubsystemSteam.cpp.obj) : error LNK2019: unresolved external symbol __imp_SteamUser referenced in function "public: __cdecl FOnlineFriendsSteam::FOnlineFriendsSteam(class FOnlineSubsystemSteam )" (??0FOnlineFriendsSteam@@QEAA@PEAVFOnlineSubsystemSteam@@@Z) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UE4-OnlineSubsystemSteam.lib(Module.OnlineSubsystemSteam.cpp.obj) : error LNK2019: unresolved external symbol __imp_SteamFriends referenced in function "public: __cdecl FOnlineFriendsSteam::FOnlineFriendsSteam(class FOnlineSubsystemSteam )" (??0FOnlineFriendsSteam@@QEAA@PEAVFOnlineSubsystemSteam@@@Z) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UE4-OnlineSubsystemSteam.lib(Module.OnlineSubsystemSteam.cpp.obj) : error LNK2019: unresolved external symbol __imp_SteamUtils referenced in function "public: bool __cdecl FOnlineSubsystemSteam::InitSteamworksClient(bool,int)" (?InitSteamworksClient@FOnlineSubsystemSteam@@QEAA_N_NH@Z) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UE4-OnlineSubsystemSteam.lib(Module.OnlineSubsystemSteam.cpp.obj) : error LNK2019: unresolved external symbol __imp_SteamMatchmaking referenced in function "public: __cdecl FOnlineAsyncTaskSteamFindLobby::FOnlineAsyncTaskSteamFindLobby(class FOnlineSubsystemSteam ,class FUniqueNetIdSteam const &,clas s TSharedPtr FOnlineSessionSearch,0> const &,int,class TMulticastDelegate ,int const ,class TSharedPtr FUniqueNetId const ,0>,class FOnlineSessionSearchResult const &> const &)" (??0FOnlineAsyncTaskSteamFindLobby@@QEAA@PEAVFOnlineSubsystemSteam@@AEBVFUniqueNetIdSteam@@AEBV?$TSharedPtr@VFOnlineSessionSearch@@$0A@@@HAEBV?$TMulticast Delegate@X$$CB_N$$CBHV?$TSharedPtr@$$CBVFUniqueNetId@@$0A@@@AEBVFOnlineSessionSearchResult@@@@@Z) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UE4-OnlineSubsystemSteam.lib(Module.OnlineSubsystemSteam.cpp.obj) : error LNK2019: unresolved external symbol __imp_SteamUserStats referenced in function "public: void __cdecl FOnlineLeaderboardsSteam::CacheCurrentUsersStats(void)" (?CacheCurrentUsersStats@FOnlineLeaderboardsSteam@@QEAAXXZ) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UE4-OnlineSubsystemSteam.lib(Module.OnlineSubsystemSteam.cpp.obj) : error LNK2019: unresolved external symbol __imp_SteamApps referenced in function "public: bool __cdecl FOnlineSubsystemSteam::InitSteamworksClient(bool,int)" (?InitSteamworksClient@FOnlineSubsystemSteam@@QEAA_N_NH@Z) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UE4-OnlineSubsystemSteam.lib(Module.OnlineSubsystemSteam.cpp.obj) : error LNK2019: unresolved external symbol __imp_SteamNetworking referenced in function "public: virtual class FSocket __cdecl FSocketSubsystemSteam::CreateSocket(class FName const &,class FString const &,bool)" (?CreateSocket@FSocke tSubsystemSteam@@UEAAPEAVFSocket@@AEBVFName@@AEBVFString@@N@Z) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UE4-OnlineSubsystemSteam.lib(Module.OnlineSubsystemSteam.cpp.obj) : error LNK2019: unresolved external symbol imp_SteamMatchmakingServers referenced in function "public: void cdecl FPendingSearchResultSteam::CancelQuery(void)" (?CancelQuery@FPendingSearchResultSteam@@QEAAXXZ) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UE4-OnlineSubsystemSteam.lib(Module.OnlineSubsystemSteam.cpp.obj) : error LNK2019: unresolved external symbol imp_SteamRemoteStorage referenced in function "public: virtual void cdecl FOnlineUserCloudSteam::DumpCloudFileState(class FUniqueNetId const &,class FString const &)" (?DumpCloudFileState@ FOnlineUserCloudSteam@@UEAAXAEBVFUniqueNetId@@AEBVFString@@@Z) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UE4-OnlineSubsystemSteam.lib(Module.OnlineSubsystemSteam.cpp.obj) : error LNK2019: unresolved external symbol imp_SteamGameServer_Init referenced in function "public: bool cdecl FOnlineSubsystemSteam::InitSteamworksServer(void)" (?InitSteamworksServer@FOnlineSubsystemSteam@@QEAA_NXZ) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UE4-OnlineSubsystemSteam.lib(Module.OnlineSubsystemSteam.cpp.obj) : error LNK2019: unresolved external symbol imp_SteamGameServer referenced in function "public: virtual void cdecl FOnlineAsyncTaskSteamCreateServer::Finalize(void)" (?Finalize@FOnlineAsyncTaskSteamCreateServer@@UEAAXXZ) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UE4-OnlineSubsystemSteam.lib(Module.OnlineSubsystemSteam.cpp.obj) : error LNK2019: unresolved external symbol imp_SteamGameServerUtils referenced in function "public: bool cdecl FOnlineSubsystemSteam::InitSteamworksServer(void)" (?InitSteamworksServer@FOnlineSubsystemSteam@@QEAA_NXZ) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UE4-OnlineSubsystemSteam.lib(Module.OnlineSubsystemSteam.cpp.obj) : error LNK2019: unresolved external symbol imp_SteamGameServerNetworking referenced in function "public: virtual class FSocket * _cdecl FSocketSubsystemSteam::CreateSocket(class FName const &,class FString const &,bool)" (?CreateSoc ket@FSocketSubsystemSteam@@UEAAPEAVFSocket@@AEBVFName@@AEBVFString@@N@Z) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: UE4-OnlineSubsystemSteam.lib(Module.OnlineSubsystemSteam.cpp.obj) : error LNK2019: unresolved external symbol imp_SteamGameServerStats referenced in function "public: bool _cdecl FOnlineSubsystemSteam::InitSteamworksServer(void)" (?InitSteamworksServer@FOnlineSubsystemSteam@@QEAA_NXZ) UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: D:\Unreal Projects\MansionOfDoom\Binaries\Win64\MansionOfDoom.exe : fatal error LNK1120: 14 unresolved externals UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: D:\Unreal Projects\MansionOfDoom\Binaries\Win64\MansionOfDoom.exe UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Total build time: 55.58 seconds (Local executor: 0.00 seconds) UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 55.9315011s 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 MansionOfDoom Win64 Development -Project="D:\Unreal Projects\MansionOfDoom\MansionOfDoom.uproject" "D:\Unreal Projects\MansionOfDoom\MansionOfDoom.uproject" -remoteini="D:\Unreal Projects\MansionOfDoom" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2018.02.14-12.01.37.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 BuildCookRun.ExecuteBuild() 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

Product Version: UE 4.15
Tags:
more ▼

asked Feb 14 '18 at 07:13 PM in Packaging & Deployment

avatar image

JustOK
1 1 2 1

avatar image Balgy Feb 14 '18 at 07:34 PM

Have you enabled the SteamOnlineSubsystem plugin from within the editor?

avatar image JustOK Feb 14 '18 at 09:07 PM

Yes, I have. And in the editor, it can connect to Steam and do everything. But when I try to build, it fails.

avatar image Shadowriver Feb 15 '18 at 02:55 AM

Did you bring dlls from Steamworks SDK?

avatar image JustOK Feb 15 '18 at 04:18 AM

I brought over the steam_api64.dll and steam_api.dll. The guide mentioned others, but there were no other .dlls in the SDK

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

0 answers: sort voted first
Be the first one to answer this question
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