Advanced Sessions Plugin

UE 5.6.1 is Finally Out

5.6.1 binaries are up, i dont think there were any sessions fixes though

With 5.7 dropping, I am considering upgrading do to the overall improvements to Megalights and Substrate finally being production ready (which was critical for my project.) However, I just wanted to check to see if the advanced sessions plug it was still being supported in 5.7.

Doing an upgreade and not being able to access the project or have sessions break on the build would obviously be no bueno.

I understand the changes made with EOS have been a real pain for @mordentral . Thank you for all of your work.

It still works yes, you just need to use steam sockets / networking, which is as i understand it an intended change, but utterly undocumented anywhere.

2 Likes

Thank you, you’re a rockstar.

Master branch has been converted to 5.7 and 5.6 has been locked away to its own branch. The binary packages have been updated.

4 Likes

@mordentral I can’t find the branch for 5.6. It doesn’t pop up on my Github

Sorry, looks like i forgot to publish it, its there now

Stupid question, but can I use Advanced Sessions Plugin and Steam Datagram Relay? Since I’m doing P2P traffic and SDR would help me a lot?

The datagram relay is the p2p relay setting in engine config correct? It should just work, its part of the engines steam implementation.

yeah it works, ive tried it, but traveling to another level and leaving the game makes game crash with error: Assertion failed: MappedClientConnections.Remove(ConstAddrRef) == 1 [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\NetDriver.cpp] [Line: 6751]

Any update on version 5.6? I can’t get it working. This is really slowing my project down :frowning: let me know please

Find Sessions Advance returned result is always 0.

However, there are multiple results in the log

I don’t know how to solve it. I need help.

5.7+SocketSubsystem+steam sdk v1.61.

thx

if its showing the other lobbies then its a configuration error, the steam Appid 480 server has been having issues for a couple months and being up and down though.

Below is a working config (assuming you have enabled the steam sockets plugin)

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

[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName=“/Scripts/SteamSockets.SteamSocketsNetConnection”

[OnlineSubsystem]
bHasVoiceEnabled=true
DefaultPlatformService=Steam

[OnlineSubsystemSteam]
bEnabled=True
bUseSteamNetworking=True
SteamDevAppId=480

2 Likes

I’ve had about 3 almost sleepless nights on this issue, until I tried this.

I can now create in peace.

Thank you, brother.

Hi, it’s said that with default settings, FindSessions() on Nintendo Switch can not find sessions.

I suspect it may because bUseLobbiesIfAvailable is set to true and FindSessions() set UseLobbies to true as default.

So I tried disable bUseLobbiesIfAvailable and edit code in the plugin to let FindSessions() don’t search lobbies.

Then I find it would fail when create Session on Steam.(Success on Switch)

So I want to know how to set options on Steam and Switch.

Edit:

Using UE5.6 and SocketSubsystemNPLN for Switch

Has Extra Settings for creating session. And when search sessions on Switch, it seems to find a session but can’t find the Extra Setting Properties.

Extra settings isn’t going to be on every platform, its a generic subsystem feature in engine that is implemented only on subsystems that support it.