Unable to create session in packaged game (Works in Editor) with Steam Advanced Sessions Online Subsystem

Hi, the issue that you can no longer create a session is likely due to enabling the steam sockets plugin. If you disable it, it should work again. For joining a session in a packaged game, in ue5.4 I could not get it to work using FindSession, but it did work using invite and the steam overlay. This was the tutorial I used for joining via the overlay: How to join friends via Steam overlays using Advanced Sessions | Community tutorial

Actually, from the looks of your images you already used this :slight_smile: Something else to note, is that if you package the game and try to join, then you need two pcs running each running with a different steam account open in the background.

And this is the config I’m using, don’t know how much of it is necessary, just tried until I got some combination that worked:

[NetDriverDefinitions]
DefName="GameNetDriver"
DriverClassName="/Script/OnlineSubsystemSteam.SteamNetDriver"
DriverClassNameFallback="/Script/OnlineSubsystemUtils.IpNetDriver"

[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")


[OnlineSubsystem]
DefaultPlatformService=Steam

[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
bAllowP2PPacketRelay=true
bEnableSteamNetworking=true
GameServerQueryPort=27015
P2PConnectionTimeout=90
bUseSteamNetworking=true

; If using Sessions
bInitServerOnClient=true

[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"

[ConsoleVariables]
net.CurrentHandshakeVersion=2
net.MinHandshakeVersion=2
1 Like