Hello every one,
I’ve been looking for different sources and tutorial to setup my game for steam but I can’t get it to work.
First, my DefaultEngine.ini looks like this:
[/Script/Engine.GameEngine]
!NetDriverDefinitions=ClearArray
+NetDriverDefinitions=(DefName=“GameNetDriver”,DriverClassName=“OnlineSubsystemSteam.SteamNetDriver”),DriverClassNameFallback=“OnlineSubsystemUtils.IpNetDriver”)
[OnlineSubsystem]
DefaultPlatformService=Steam
PollinIntervallInMs=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"
And in the , I added those lines:
PublicDependencyModuleNames.AddRange(new string[]{..."OnlineSubsystem","OnlineSubsystemUtils"});
DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam");
If I’m using the setup for OnlineSubsystemNull, it works fine. But with this setup, I have the following errors:
CreateSession - Invalid or uninitialized OnlineSubsystem
CreateSession - Cannot map local player unique net ID
which should mean that my setup is somehow wrong but I have no Idea what. I’ve been reading forums for days but none of the solutions seems to work. Thanks for the help.