UE 5.1 Steam Sockets Problem

We are using Advanced Steam Sessions Plugin. Still doesn’t work.

1 Like

■■■■ this sucks lol. I really don’t want to build source. I hope Epic sees this and pushes it forward since the fix is already known…

they know Its marked to be fix in update 5.3 even when we vote a lot on it they didn’t push the fix to 5.2 :confused:

Yeah it’s a real bummer… 5.3 feels really far away and I want to test my game without building source lol.

I could connect with these options, thanks. (5.1.1 Source Build)

It looks like there’s a new version of that issue ticket here:

With 5.4 as target fix. It also has the suggested workaround of setting net.VerifyNetSessionID and net.VerifyNetClientID to 0.

Adding this to DefaultEngine.ini worked for me in Unreal Engine 5.1 and 5.2.
Using Advanced Sessions.

[SystemSettings]
net.CurrentHandshakeVersion=2
net.MinHandshakeVersion=2
net.VerifyNetSessionID=0
net.VerifyNetClientID=0

3 Likes

This worked for me to in version 5.2. If I wasn’t already bald I would have pulled out all my hair trying to figure out what was going on with my packaged builds,

Can anyone confirm if this is actually fixed in the 5.3 preview?

At last this fixed my FindSessions with Steam, Thanks.

1 Like

Hey all, I can’t get joining to work with Steam Sockets, and I’m pulling my hair out trying to figure out what’s going wrong. I’m on 5.3, with no Advanced Sessions plugin. When I try to join a LAN game with steam sockets, I just get kicked back to the menu. This is the log. I can join LAN games with steam disabled though…

What am I doing wrong :face_holding_back_tears:

(Ignore FCTween warning, not relevant.)

DefaultEngine.ini

[URL]
GameName=<REDACTED>
Port=27015
PeerPort=27015
QueryPort=27015

[/Script/Engine.GameEngine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/SteamSockets.SteamSocketsNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")

[OnlineSubsystem]
DefaultPlatformService=Steam
PollingIntervalInMs=20

[OnlineSubsystemSteam]
bEnabled=true
bUsesPresence=true
bRelaunchInSteam=false
bInitServerOnClient=true
bUseLobbiesIfAvailable=true
SteamDevAppId=<REDACTED>
bUseSteamNetworking=true
bAllowP2PPacketRelay=true
GameServerQueryPort=27015
P2PConnectionTimeout=90

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

[Core.Log]
LogOnline=VeryVerbose

[SystemSettings]
net.CurrentHandshakeVersion=2
net.MinHandshakeVersion=2
net.VerifyNetSessionID=0
net.VerifyNetClientID=0

Hello, guys. I see that the steam socket bug we were having in 5.1-5.3 was solved in 5.4. I was using these variables in 5.3 and steam sockets worked just fine:
[SystemSettings]
net.CurrentHandshakeVersion=2
net.MinHandshakeVersion=2
net.VerifyNetSessionID=0
net.VerifyNetClientID=0

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

But it seems that after upgrading to Unreal Engine 5.4 the connection doesn’t work, anyone else tried? It always throws me out of the session.