Hi all
I’m really enjoying the course. But I cannot get my game to connect via Steam. Eventually I have downloaded the full project from Github ( https://github.com/UnrealMultiplayer/3_Steam_Multiplayer/tree/master/UnrealProject/PuzzlePlatforms/Source/PuzzlePlatforms )
I changed the line in defaultengine.ini to “[OnlineSubsystemSteam] bEnabled=true”
I also added line “SessionSettings.bUseLobbiesIfAvailable = true;” into the GameInstance cpp file.
My LOG file tells me Steam failed to initialize because conditions not met. But what conditions?
I read somewhere that a 32x32 .ico file was needed to connect. But SpaceWar doesn’t seem to have such ico file. And I didn’t see it referred to in the tutorial series.
Part of log here:
LogSteamShared: Display: Loading Steam SDK 1.51
LogSteamShared: Steam SDK Loaded!
LogOnline: OSS: Creating online subsystem instance for: Steam
LogSteamShared: Warning: SteamAPI failed to initialize, conditions not met.
LogOnline: Warning: STEAM: Steamworks: SteamUtils() failed!
LogOnline: Warning: STEAM: Steamworks: SteamUser() failed!
LogOnline: Warning: STEAM: Steamworks: SteamFriends() failed!
LogOnline: Warning: STEAM: Steamworks: SteamRemoteStorage() failed!
LogOnline: Warning: STEAM: Steamworks: SteamUserStats() failed!
LogOnline: Warning: STEAM: Steamworks: SteamMatchmakingServers() failed!
LogOnline: Warning: STEAM: Steamworks: SteamApps() failed!
LogOnline: Warning: STEAM: Steamworks: SteamNetworking() failed!
LogOnline: Warning: STEAM: Steamworks: SteamMatchmaking() failed!
LogOnline: STEAM: [AppId: 0] Client API initialized 0
LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
LogOnline: Warning: STEAM: Steam API failed to initialize!
LogOnline: Display: STEAM: OnlineSubsystemSteam::Shutdown()
LogOnline: OSS: Unable to create OnlineSubsystem module Steam
LogOnline: OSS: Creating online subsystem instance for: NULL
Please help me I am so close yet so far to having my games on Steam
Edit: Is it perhaps to do with the Steam SDK version? Currently I am unsure where I need to put the Steamworks SDK. According to this ( Online Subsystem Steam | Unreal Engine Documentation) I have to change the readonly file ‘Steamworks.build.cs’ to reflect the current version I am using. I had downloaded the latest SDK (1.39a). But I don’t know if I need to change the path in the Engine ‘Steamworks.build.cs’ file or inside my project (which is what it actually says in that link) but I cannot find any reference to Steamworks SDK version inside my project. Of course I am trying to use this with UE4.27.