Create Steam Session fail then creates it

Hi !

I’m having a weird issue, when i try my build and i want to create a session, the logs says it fails (via the “OnFailure pin”) but then steam creates the lobby, here are the logs :

[2017.07.19-11.37.21:156][135]LogOnline:Warning: STEAM: Cannot create session 'Game': session already exists.
[2017.07.19-11.37.21:157][135]LogBlueprintUserMessages: [BP_GM_PracticeRangeSolo_C_0] Fail Create
[2017.07.19-11.37.21:157][135]LogBlueprintUserMessages: [BP_GM_PracticeRangeSolo_C_0] Fail Create
[2017.07.19-11.37.29:214][967]LogOnline:Verbose: Async task 'FOnlineAsyncTaskSteamCreateLobby bWasSuccessful: 1 LobbyId: 109775244248514220 LobbyType: 2 Result: '1' k_EResultOK (success)' succeeded in 8.154471 seconds
[2017.07.19-11.37.29:215][967]LogOnline:Verbose: STEAM: Lobby Data (OWNINGID, 76561198171238783)
[2017.07.19-11.37.29:216][967]LogOnline:Verbose: STEAM: Lobby Data (OWNINGNAME, Crysux)
[2017.07.19-11.37.29:216][967]LogOnline:Verbose: STEAM: Lobby Data (NUMOPENPRIVCONN, 0)
[2017.07.19-11.37.29:216][967]LogOnline:Verbose: STEAM: Lobby Data (NUMOPENPUBCONN, 99)
[2017.07.19-11.37.29:216][967]LogOnline:Verbose: STEAM: Lobby Data (P2PADDR, 76561198171238783)
[2017.07.19-11.37.29:216][967]LogOnline:Verbose: STEAM: Lobby Data (P2PPORT, 27015)
[2017.07.19-11.37.29:217][967]LogOnline:Verbose: STEAM: Lobby Data (NUMPUBCONN, 100)
[2017.07.19-11.37.29:217][967]LogOnline:Verbose: STEAM: Lobby Data (NUMPRIVCONN, 0)
[2017.07.19-11.37.29:217][967]LogOnline:Verbose: STEAM: Lobby Data (SESSIONFLAGS, 195)
[2017.07.19-11.37.29:217][967]LogOnline:Verbose: STEAM: Lobby Data (BUILDID, 1097606088)
[2017.07.19-11.37.29:222][967]LogOnline:Verbose: dumping NamedSession: 
[2017.07.19-11.37.29:222][967]LogOnline:Verbose: 	SessionName: Game
[2017.07.19-11.37.29:222][967]LogOnline:Verbose: 	HostingPlayerNum: 0

It worked perfectly before, i don’t know why it tells me the session already exist since i don’t even created one.

I’m getting this too, after a totally unrelated code change. It was working in shipping, but after adding a UE_LOG line and switching to development it just keeps trying to create a session called ‘Game’ which fails because a session named ‘Game’ already exists. This is something I’ve seen in-editor before, but never in a packaged build. Did you ever figure this out?

if this is in PIE mode, there’s a little quirk where a session called ‘Game’ is created the first time and every time after that fails because ‘Game’ has already been created. To work around this, always test session creation functions in standalone mode.