Dedicated server with Steam is a joke

Thanks for the reply!

I did this:


void AUAGameSession::RegisterServer()
{
	const int MaxNumPlayers = 8;
	const bool bIsPresence = true;
	const bool bIsLAN = false;
	const int HostingPlayerNum = 0;
	const FString GameType = "Deathmatch";
	const FString MapName = "Hall"; //< TODO: Get actual name.
	const auto UserId = MakeShareable(new FUniqueNetIdString(FString::Printf(TEXT("%d"), HostingPlayerNum)));

	IOnlineSubsystem* const OnlineSub = IOnlineSubsystem::Get();
	if (OnlineSub)
	{
		IOnlineSessionPtr Sessions = OnlineSub->GetSessionInterface();
		if (Sessions.IsValid())
		{
			FOnlineSessionSettings Settings;
			Settings.NumPublicConnections = 8;
			Settings.bShouldAdvertise = true;
			Settings.bAllowJoinInProgress = true;
			Settings.bIsLANMatch = false;
			Settings.bUsesPresence = true;
			Settings.bAllowJoinViaPresence = true;

			Sessions->CreateSession(0, GameSessionName, Settings);
		}
	}
}

And now I’m getting this when opening dedicated server: