Well I’ve got Steam working over the internet, tested with someone 50KM away, but within the same country. I’ve read something about issues with different countries/continents when using the 480 App ID.
Here’s what I’ve got on some of the settings.
DefaultEngine.ini
[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="/Script/OnlineSubsystemSteam.SteamNetConnection"
projectname.Build.cs
PublicDependencyModuleNames.AddRange(new string[] {
"OnlineSubsystem",
"OnlineSubsystemUtils"
});
DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam");
//Uncomment if you are using Slate UI
//PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
//Uncomment if you are using online features
PrivateDependencyModuleNames.Add("OnlineSubsystem");
if ((Target.Platform == UnrealTargetPlatform.Win32) || (Target.Platform == UnrealTargetPlatform.Win64))
{
if (UEBuildConfiguration.bCompileSteamOSS == true)
{
DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam");
}
}
projectname.Target.cs
public projectnameTarget(TargetInfo Target)
{
Type = TargetType.Game;
bUsesSteam = true;
}
I hope that this might help you to find what’s wrong.