Since SEARCH_PRESENCE is deprecated in ue 5.5 it is no lonjger possible to join steam games.
How should my code be changed? Also says presence and lobbies have to be same value. But if I set lobbies to false, the games are not even searchable. Any ideas what todo?
FOnlineSessionSettings SessionSettings;
SessionSettings.bIsDedicated = false;
SessionSettings.bIsLANMatch = IsLan;
SessionSettings.bShouldAdvertise = !InviteOnly;
SessionSettings.bUsesPresence = true;
SessionSettings.NumPublicConnections = 8;
SessionSettings.bAllowInvites = true;
SessionSettings.bAllowJoinViaPresence = true;
SessionSettings.bAllowJoinInProgress = false;
SessionSettings.bUseLobbiesIfAvailable = true;
SessionSettings.bUseLobbiesVoiceChatIfAvailable = true;
SessionSearch->QuerySettings.Set(SEARCH_LOBBIES, true, EOnlineComparisonOp::Equals); | |
---|---|
SessionSearch->QuerySettings.Set(SEARCH_PRESENCE, true, EOnlineComparisonOp::Equals); | |
Getting EOnJoinSessionCompleteResult::Type::UnknownError on join session complete handler.
STEAM: [FOnlineSessionSteam::JoinSession] The values of FOnlineSessionSettings::bUsesPresence and FOnlineSessionSettings::bUseLobbiesIfAvailable are treated as equal and have to match
and this in console