After days of googling, reading and testing I still can’t get this right. I am using the plugin Advanced Sessions. I am able to create sessions and play with or without LAN and with or without Steam, but I can’t find the session on a different instance of the game.
I have tried with 2 PIE windows, 2 instances of packaged build on 1 machine and 2 different computers on LAN with same packaged build. Same result, the length of returned “Results” array from Find Sessions Advanced = 0.
Would be great if anyone have any pointers or a check list I can run down to fix it.
My DefaultEngine.ini : (When I test without Steam I simply turn “DefaultPlatformService=Steam” to “=Null”.)
[/Script/Engine.GameEngine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName=“GameNetDriver”,DriverClassName=“OnlineSubsystemSteam.SteamNetDriver”,DriverClassNameFallback="OnlineSubsystemUtils.IpNet[OnlineSubsystem]
DefaultPlatformService=Steam
PollingIntervalInMs=20[OnlineSubsystemSteam] bEnabled=true
SteamDevAppId=480
GameServerQueryPort=27015
bRelaunchInSteam=false
GameVersion=1.0.0.0 bVACEnabled=1
bAllowP2PPacketRelay=true
P2PConnectionTimeout=90[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName=“OnlineSubsystemSteam.SteamNetConnection”
My Game.Build.cs :
using UnrealBuildTool;
public class FreshFPS : ModuleRules {
public FreshFPS(TargetInfo Target) {
PublicDependencyModuleNames.AddRange(new
string { “Core”, “CoreUObject”,
“Engine”, “InputCore”,
“OnlineSubsystem”,
“OnlineSubsystemNull”,
“OnlineSubsystemUtils” });PrivateDependencyModuleNames.AddRange(new string { “OnlineSubsystem” });
PrivateDependencyModuleNames.Add(“OnlineSubsystem”);
} }