Advanced Sessions Plugin

I am trying to update the session settings after creating the session. By the following blueprints, Get Session Settings returns the correct value, that should be meaning the player is currently in a session. However, when I tried to call Update Session, there is an error message “NO REGISTERED SESSIONS” displayed (shown as the second pic). Is there anything I missed to achieve session setting update?

[quote=“Chun0119, post:2792, topic:30020”]

I am trying to update the session settings after creating the session. By the following blueprints, Get Session Settings returns the correct value, that should be meaning the player is currently in a session. However, when I tried to call Update Session, there is an error message “NO REGISTERED SESSIONS” displayed (shown as the second pic). Is there anything I missed to achieve session setting update?

What subsystem are you using and are you testing in editor or out of it? Technically that error should never display with an actual active session. Its a check against the session array not being empty before querying for one.

Packaged game (Windows 64) UE4.26.1 is not starting when advanced sessions plugins are enabled.

Anyone knows why?

Thank you <3

I want to make an online game, you will be able to invite your Steam friends in this game but it will require a different internet connection. how can I do it

[quote=“, post:2793, topic:30020”]

What subsystem are you using and are you testing in editor or out of it? Technically that error should never display with an actual active session. Its a check against the session array not being empty before querying for one.

I plan to use Oculus subsystem, while I am testing in editor with Online Subsystem NULL. I do not understand, if playing in editor is not having an actual active session, why could I use Get Session Settings successfully but not Update Session:( Thank you so much for your help.

[quote=“Chun0119, post:2796, topic:30020”]

I plan to use Oculus subsystem, while I am testing in editor with Online Subsystem NULL. I do not understand, if playing in editor is not having an actual active session, why could I use Get Session Settings successfully but not Update Session:( Thank you so much for your help.

Playing in editor creates a “psuedo” session for the separate windows to interact inside of. It does not actually add a session to the sessions array.

I am having a bit of a problem with getting a Steam dedicated server working. I can create a session and join via LAN across my network, but it doesn’t work online. I don’t have “Use LAN” checked. When I search for my session online I find 3 sessions, none of which is my session (according to Steam ID). I can find my server in the Steam server browser in both “Internet” and “LAN” tab. What’s wrong?

Friends, I have a very serious problem. The advanced system plugin does not work in the 4.26 version, so when I open the game in a new window, the steam notification does not appear at the bottom right and I cannot open the steam menu. PLEASE HELP ME

[quote=“Engi-n, post:2799, topic:30020”]

Friends, I have a very serious problem. The advanced system plugin does not work in the 4.26 version, so when I open the game in a new window, the steam notification does not appear at the bottom right and I cannot open the steam menu. PLEASE HELP ME

Maybe change Build Target to Development? Mine was in Shipping and I changed it to Development.

Hello everyone, I also have a serious problem with UE4.26.1. My game runs well with UE4.25.4. But when I switched to UE4.26.1 the apk package for Oculus Quest could not run. The game only loads in 3 seconds and then automatically quit. Does anyone know how to fix this problem? Thank you!

After searching servers (sessions) I get a array of “Blueprint Session Results”. Everything is fine here.

But, is it possible to retrieve a “Blueprint Session Result” also for a running Session? I looked through all Advanced Sessions BP nodes, but seems it is not existing.
I mean something like “Get Session Result of current active session”, for Sever and also for Client.

If not existing, how can a Client retrieve “Blueprint Session Result” off a currently, active running session? Of course, I can put the result of “Blueprint Session Result” in a variable in “Game Instance” and save it. But the Server can use “Update Session” to update the session Settings. And when Server updates Server settings, the last saved “Blueprint Session Result” is not up to date any more.
So, how it’s possible for Client/Server to retrieve “Blueprint Session Results”. from actual running multiplayer session?

I also checked bindings, but there is also no bindings for “session” updated or “created” to bind some events which could deliver out the current “Blueprint Session Result” after creating and (more important) after updating the session (for clients).

Thanks a lot!

Some more hours later I found a solution with "Get Session Settings. But I still wondering why not be able to get it as "Blueprint Session Result because then I could reuse same functions to evaluate as used for find server which return “Blueprint Session Results” array.

[quote=“TheFlow3k, post:2803, topic:30020”]

Some more hours later I found a solution with "Get Session Settings. But I still wondering why not be able to get it as "Blueprint Session Result because then I could reuse same functions to evaluate as used for find server which return “Blueprint Session Results” array.

BlueprintSessionResult is a full session as found on the internet, it has extra data in it.

I’ve created a **new **game using a template (for example, third person template). I’ve change nothing, build, and packaged game works.

Now, I’ve added both pluggins to my project (and both are enabled at plugins window) and built again, but game not longer works (just for adding pluggins).

If I delete them and build, game works again.

Any clue? Thank you

Windows 10 x64 and UE 4.26.1

Currently I try to open a session which only friends can search and join.
The “Create Advanced Session” node has a option called “Allow join via presence friends only”. I thought this option is what I am looking for, but when I set it to true, then nobody see the created session. Also not friends.
How do I open a Session (and find it) which only Steam friends can find?

Hello. Tell me where to look what the problem is. I don’t see my sessions in a packed game.

I copy files:
steamclient64.dll tier0_s64.dll vstdlib_s64.dll in folder Engine\Binaries\ThirdParty\Steamworks\Steamv142\Win64
steam_appid.txt in folder RatsSurvive\Binaries\Win64\ contain 480

Configure DefaultEngine.ini



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

[OnlineSubsystem]
DefaultPlatformService=Steam
PollingIntervalInMs=20

[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
SteamAppId=480
GameServerQueryPort=27015
bRelaunchInSteam=false
GameVersion=1.0.0.0
bVACEnabled=1
bAllowP2PPacketRelay=true
P2PConnectionTimeout=90

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


Enable Plugins


 "Plugins": 
{
"Name": "HorizonUIPlugin",
"Enabled": true,
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/8b94d073d32443b497d4a9e8b1e210f7"
},
{
"Name": "JSONParser",
"Enabled": true,
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/8eda577c5b594d6b990f91b8dec8a014"
},
{
"Name": "SocketClient",
"Enabled": true,
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/5d4ddd5493ce4d2295ef9be6c67eff82"
},
{
"Name": "VictoryBPLibrary",
"Enabled": true,
"MarketplaceURL": "http://www.ue4code.com"
},
{
"Name": "WebCommunication",
"Enabled": true,
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/3b04f3c4af5445959cee4448846b55a0"
},
{
"Name": "OceanPlugin",
"Enabled": true
},
{
"Name": "VaRestPlugin",
"Enabled": true,
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/content/e47be161e7a24e928560290abd5dcc4f"
},
{
"Name": "OnlineSubsystemIOS",
"Enabled": false,
"SupportedTargetPlatforms": 
"IOS",
"TVOS"
]
},
{
"Name": "OnlineSubsystemGooglePlay",
"Enabled": false,
"SupportedTargetPlatforms": 
"Android"
]
},
{
"Name": "OnlineSubsystemSteam",
"Enabled": true
},
{
"Name": "AdvancedSessions",
"Enabled": true
},
{
"Name": "AdvancedSteamSessions",
"Enabled": true
}
]


CreateSession Macros In GameInstance

FindSessions in SessionsList widget

Log : Init STEAM it’s OK


LogOnline: Display: STEAM: Loading Steam SDK 1.42
LogOnline: OSS: Creating online subsystem instance for: Steam
LogOnline: STEAM: Steam User is subscribed 1
LogOnline: STEAM: [AppId: 480] Client API initialized 1
LogOnline: STEAM: [AppId: 480] Game Server API initialized 1
LogOnline: STEAM: Missing P2PCleanupTimeout key in OnlineSubsystemSteam of DefaultEngine.ini, using default


Log : Create Session


[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: dumping NamedSession:
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: SessionName: GameSession
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: HostingPlayerNum: 0
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: SessionState: Pending
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: RegisteredPlayers:
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: 0 registered players
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: dumping Session:
[2021.03.04-10.50.18:090] 2]LogOnlineSession: Verbose: OSS: OwningPlayerName: ????????????????
[2021.03.04-10.50.18:091] 2]LogOnlineSession: Verbose: OSS: OwningPlayerId: Элеонора [0x191D86B0]
[2021.03.04-10.50.18:091] 2]LogOnlineSession: Verbose: OSS: NumOpenPrivateConnections: 0
[2021.03.04-10.50.18:091] 2]LogOnlineSession: Verbose: OSS: NumOpenPublicConnections: 99
[2021.03.04-10.50.18:091] 2]LogOnlineSession: Verbose: OSS: SessionInfo: HostIP: INVALID SteamP2P: 76561198273022036:7777 Type: Lobby session SessionId: Lobby[0x18...415E]
[2021.03.04-10.50.18:091] 2]LogOnlineSession: Verbose: OSS: dumping SessionSettings:
[2021.03.04-10.50.18:091] 2]LogOnlineSession: Verbose: OSS: NumPublicConnections: 100
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: NumPrivateConnections: 0
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bIsLanMatch: false
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bIsDedicated: false
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bUsesStats: false
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bShouldAdvertise: true
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bAllowJoinInProgress: true
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bAllowInvites: true
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bUsesPresence: true
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bAllowJoinViaPresence: true
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: bAllowJoinViaPresenceFriendsOnly: false
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: BuildUniqueId: 0x00000000
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: Settings:
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: SessionTest=rsaol : OnlineService
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: PlayersCount=1 : OnlineService
[2021.03.04-10.50.18:092] 2]LogOnlineSession: Verbose: OSS: ServerName=RatsSurvive private server : OnlineService


Log : Find Sessions. My IP or Steam ID not contain. Found 0 lobbies


[2021.03.04-10.50.37:383][514]LogOnlineSession: STEAM: Found 0 lobbies, finalizing the search
[2021.03.04-10.50.37:788][526]LogOnlineSession: Warning: STEAM: Server response IP:31.186.103.206
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response CONMETHOD P2P
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response CUSTOMSEARCHINT1_i 1
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response GAMENAME_s EmptyDedicated
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response OWNINGID 90143607200972807
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response OWNINGNAME 90143607200972807
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response P2PADDR 90143607200972807
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response P2PPORT 7777
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules response SESSIONFLAGS 683
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Rules refresh complete
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Unknown or unsupported data type from Steam key data CONMETHOD P2P
[2021.03.04-10.50.37:888][529]LogOnlineSession: Warning: STEAM: Failed to parse setting from key CONMETHOD value P2P
[2021.03.04-10.50.37:907][530]LogOnlineSession: Warning: STEAM: Server response IP:104.248.128.106
[2021.03.04-10.50.37:988][532]LogOnlineSession: Warning: STEAM: Server response IP:37.10.126.113
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules response CONMETHOD P2P
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules response OWNINGID 90143559618028555
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules response OWNINGNAME 90143559618028555
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules response P2PADDR 90143559618028555
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules response P2PPORT 7777
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules response ServerName_s BisteccaGames
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules response SESSIONFLAGS 683
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Rules refresh complete
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Unknown or unsupported data type from Steam key data CONMETHOD P2P
[2021.03.04-10.50.38:088][535]LogOnlineSession: Warning: STEAM: Failed to parse setting from key CONMETHOD value P2P
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules response CONMETHOD P2P
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules response MATCHTIMEOUT_f 120.000000
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules response OWNINGID 90139514282476551
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules response OWNINGNAME 90139514282476551
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules response P2PADDR 90139514282476551
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules response P2PPORT 7777
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules response SESSIONFLAGS 683
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Rules refresh complete
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Unknown or unsupported data type from Steam key data CONMETHOD P2P
[2021.03.04-10.50.38:388][544]LogOnlineSession: Warning: STEAM: Failed to parse setting from key CONMETHOD value P2P


But. If you create a new empty project and copy the session creation branch to GameInstance, then in the main project I see such a session.

Hey guys. I am using advanced sessions for steam and I have two problems.
1- the session is just for one country, how can I change so that is Europe visible or universal?
2- how can I change a setting in a session when the game starts so that another players can’t enter?

[quote=“Shrimp_Daddy, post:2798, topic:30020”]

I am having a bit of a problem with getting a Steam dedicated server working. I can create a session and join via LAN across my network, but it doesn’t work online. I don’t have “Use LAN” checked. When I search for my session online I find 3 sessions, none of which is my session (according to Steam ID). I can find my server in the Steam server browser in both “Internet” and “LAN” tab. What’s wrong?

Same here. Did you find a solution?
I’ve tried literally every tutorial and description and question that pertains to this, but no matter what I do, my sessions are not visible over internet or in the servers tab through steam by anyone. I am testing form multiple different machines on different networks and have tried two separate projects in 4.25 and 4.26. Using default 480 and filtering results by my unique SMAPNAME property. Using only listen client, no dedicated server.

[quote=“Skalbe, post:2809, topic:30020”]

Same here. Did you find a solution?
I’ve tried literally every tutorial and description and question that pertains to this, but no matter what I do, my sessions are not visible over internet or in the servers tab through steam by anyone. I am testing form multiple different machines on different networks and have tried two separate projects in 4.25 and 4.26. Using default 480 and filtering results by my unique SMAPNAME property. Using only listen client, no dedicated server.

I am having the same problem with p2p playing was fine a few weeks ago. Has the steam code change?
Also I am unable to send friends invites which i was able to before. I haven’t made any changes to that side of the code.

On build project. What is to do?