Hi , since he didn’t answer I will
Having this same issue… Some info (+ logs attached). I’ll preface this by saying sometimes I am able to connect, although usually I find another persons session. Certainly there must be a way to find mine? I want networking done before I even think about starting gameplay… And without gameplay I can’t get greenlit and get a unique app id. If it’s not possible … then it just isn’t, however all I’ve seen around is, “maybe, maybe not”.
Running a dedicated server. Server is on separate machine, with all ports required forwarded correctly. Server also has its own steam account.
I am creating a session through RegisterServer() in AGameSession::RegisterServer():
void AGameSession::RegisterServer()
{
UWorld* World = GetWorld();
IOnlineSessionPtr SessionInt = Online::GetSessionInterface(World);
FOnlineSessionSettings Settings;
Settings.NumPublicConnections = 3;
Settings.bShouldAdvertise = true;
Settings.bAllowJoinInProgress = true;
Settings.bIsLANMatch = true;
Settings.bUsesPresence = true;
Settings.bAllowJoinViaPresence = true;
Settings.BuildUniqueId = 1337;
SessionInt->CreateSession(0, GameSessionName, Settings);
return;
}
I see no indication anywhere that session creation is failing… BuildUniqueId is normally not set, however I was hoping setting it would help.
Here is client Find/Join session:
Client does succesfully find a session, however of course problem is I am finding another users session… Judging by variables shown in log, there are a large amount of people using app id 480 - so surely there must be a way to access ones own server exclusively?
If you need anymore info please ask. Been trying to solve this issue for a while now…
[link text][3]
[link text][4]