Advanced Sessions Plugin

Same goes for the default engine nodes too though, steam subsystem is failing to create a server period. Even though the subsystem itself is running.

Ok, they added a new control variable for EOS in 4.27 and forgot to initialize it differently for Steam, so it broke the standard of using Steam lobbies by default.

I had ported it in, but forgot to default it to true instead to avoid their mistake. Iā€™ll fix that, in the meantime the lobby hosting with the engines nodes wonā€™t work until they fix it but the plugins one should.

The repo is updated and the binaries are being recompiled, however on the original build you could also just set bUseLobbiesIfAvailable to true on the AdvancedCreateSession node

Edit Binaries updated

3 Likes

aight thanks for the quick fix!

Hey, I turned off both of the presence join options but I can still join on the server without an invite, is there a seperate option (that is not available perhaps?) or should this work and I might be doing something wrong.
image
I would like to set it up so that it is only possible through invites (or I might add an option for this later) because I have friends who sometime prefer to leave out people from their friend list who just like to join without a word.

I had it working before for several versions of UE4. 4.27 and ue5-main are both having the same issues of seeing sessions/presence but failing trying to join. Iā€™m guessing something is broken engine side. Steam Sockets worked around the session visibility before but was still unable to join.

Summary
[2021.08.27-05.54.23:963][168]LogHandshake: SendChallengeResponse. Timestamp: 231.742496, Cookie: 226232099183243107119172213099077013063065219236133117220222
[2021.08.27-05.54.23:963][168]LogHandshake: SendChallengeResponse. Timestamp: 231.742496, Cookie: 226232099183243107119172213099077013063065219236133117220222
[2021.08.27-05.54.23:963][168]LogHandshake: SendChallengeResponse. Timestamp: 231.742496, Cookie: 226232099183243107119172213099077013063065219236133117220222
[2021.08.27-05.54.23:999][172]LogOnline: STEAM: AUTH HANDLER: Sending auth key
[2021.08.27-05.54.34:000][789]LogOnline: STEAM: Removing P2P Session Id: * [0x1100001008C459D], Channel: -1, IdleTime: 10.000
[2021.08.27-05.54.35:505][352]LogOnline: STEAM: Closing all communications with user #
[2021.08.27-05.54.35:507][352]LogOnline: STEAM: # has been removed.
[2021.08.27-05.55.11:178][224]LogStreaming: Display: 0.001 ms for skipping 7 objects in NotifyUnreachableObjects (Queued=0, Async=0).
[2021.08.27-05.55.19:974][548]LogNet: Warning: UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 60.02, Real: 60.01, Good: 60.01, DriverTime: 60.02, Threshold: 60.00, [UNetConnection] RemoteAddr: #:7777, Name: SteamNetConnection_2147482518, Driver: PendingNetDriver SteamNetDriver_2147482519, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID
[2021.08.27-05.55.19:974][548]LogNet: Error: UEngine::BroadcastNetworkFailure: FailureType = ConnectionTimeout, ErrorString = UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 60.02, Real: 60.01, Good: 60.01, DriverTime: 60.02, Threshold: 60.00, [UNetConnection] RemoteAddr: #:7777, Name: SteamNetConnection_2147482518, Driver: PendingNetDriver SteamNetDriver_2147482519, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID, Driver = PendingNetDriver SteamNetDriver_2147482519
[2021.08.27-05.55.19:974][548]LogNet: Warning: Network Failure: PendingNetDriver[ConnectionTimeout]: UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 60.02, Real: 60.01, Good: 60.01, DriverTime: 60.02, Threshold: 60.00, [UNetConnection] RemoteAddr: #:7777, Name: SteamNetConnection_2147482518, Driver: PendingNetDriver SteamNetDriver_2147482519, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID
[2021.08.27-05.55.19:974][548]LogNet: NetworkFailure: ConnectionTimeout, Error: 'UNetConnection::Tick: Connection TIMED OUT. Closing connection.. Elapsed: 60.02, Real: 60.01, Good: 60.01, DriverTime: 60.02, Threshold: 60.00, [UNetConnection] RemoteAddr: #:7777, Name: SteamNetConnection_2147482518, Driver: PendingNetDriver SteamNetDriver_2147482519, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID'
[2021.08.27-05.55.19:974][548]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: #:7777, Name: SteamNetConnection_2147482518, Driver: PendingNetDriver SteamNetDriver_2147482519, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID, Channels: 2, Time: 2021.08.27-05.55.19
[2021.08.27-05.55.19:974][548]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: #:7777, Name: SteamNetConnection_2147482518, Driver: PendingNetDriver SteamNetDriver_2147482519, IsServer: NO, PC: NULL, Owner: NULL, UniqueId: INVALID
[2021.08.27-05.55.19:974][548]LogNet: DestroyNamedNetDriver SteamNetDriver_2147482519 [PendingNetDriver]
[2021.08.27-05.55.19:974][548]LogExit: PendingNetDriver SteamNetDriver_2147482519 shut down```

Hey I updated to the last repository but itā€™s still not working since updating to 4.27. It only works when I press ā€˜use lobbies if availableā€™. (Which I donā€™t think I want to have enabled for normal server hosting.) Otherwise it goes straight into failed. Please help! And thanks for the amazing plugin.

use lobbies if available should now be defaulted to true in very latest version.

but yes, they broke steam lobbies by default

Awesome, thank you!

Well as it turns out, my issue was the Steam Auth ini setting. Having it in there breaks joining games on 4.27/ue5-main. Steam Sockets still doesnā€™t work either way.

[PacketHandlerComponents]
+Components=OnlineSubsystemSteam.SteamAuthComponentModuleInterface

Do you have your own steam key? Because yes it would break joining games if you havenā€™t assigned ownership of the game to the account trying in steam since that is what steam auth does.

Yeah, Iā€™ve been using my own AppID with developer keys for ~2 years. It just up and stopped working with 4.27/ue5-main. It even works still using an older build of UE4.

They have been making changes for EOS and some of them broke steam with default setup in this versionā€¦

Q: Do you know how to add Events to a child GameInstance class that inherits from AdvancedFriendsGameInstance that are exposed to Blueprints?

I have created a new gameinstance (BPGICPP_GameInstance) inherited from AdvancedFriendsGameInstance to handle invitation through Blueprints and then some.
And, I am trying to create new Events in the new child game instance.
But, I cannot seem to get the syntax correct.

UE4.26.1 (Source)

//BPGICPP_GameInstance.h

#pragma once

include ā€œCoreMinimal.hā€
include ā€œAdvancedFriendsGameInstance.hā€

include ā€œBPGICPP_GameInstance.generated.hā€

DECLARE_LOG_CATEGORY_EXTERN(LogBPGICPP_GameInstance, Log, All);

UCLASS()
class NEBULASLASSO_API UBPGICPP_GameInstance : public UAdvancedFriendsGameInstance
{
GENERATED_BODY()
public:

UBPGICPP_GameInstance();

UFUNCTION(BlueprintImplementableEvent, Category = ā€œOSSā€)
void OnOnlinePrivilegeCheck(bool bSuccess);
}

Hello There,

I just updatet to the 4.27 Engine-Version with the 4.27 version of the Advanced Sessions Plugin, and now I cannot join the dedicated server.

[2021.09.01-19.02.18:299][528]LogNet: NotifyAcceptedConnection: Name: aName, TimeStamp: 09/01/21 21:02:18, [UNetConnection] RemoteAddr: myID:7100, Name: SteamNetConnection_2147482519, Driver: GameNetDriver SteamNetDriver_2147482556, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID
[2021.09.01-19.02.18:300][528]LogNet: AddClientConnection: Added client connection: [UNetConnection] RemoteAddr: myID:7100, Name: SteamNetConnection_2147482519, Driver: GameNetDriver SteamNetDriver_2147482556, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID
[2021.09.01-19.02.18:330][530]LogOnline: Error: STEAM: AUTH HANDLER: Got an invalid steamid

Does Someone have a clue how can I fix this?.

The Server is working, but the client cannot connect.

Edit:
If I disable this

[PacketHandlerComponents]
+Components=OnlineSubsystemSteam.SteamAuthComponentModuleInterface

Then it works again, it hat worked with the old version (4.26.2)

Is it because, the game is not released yet?

No, its because Epic somewhat broke the steam subsystem making changes to the sessions backend for Epic Online Services.

Is there something we can do at the moment or do we need to wait for 4.27.1 ?
Had someone already reported this as a bug?

Hi, Iā€™ve been having an issue in ue4 4.27 where creating a server in a packaged game works fine (Can invite other players, etc.) but finding servers no longer work. This has worked in earlier versions. Do you have any solutions?

I got the plugin to work with PS4.
But, ā€œFindAdvancedSessions->ExtraSettingsā€ seems to be always empty.
Am I missing something?

Turn off steam auth if it is enabled and make sure that the lobby searching has bSearchLobbies enabled, they made some steam subsystem breaking changes in 4.27.

Its up to the subsystem to pass extra settings through, I donā€™t have first hand experience with the PS4 one but it may not use them.