For my game for the moment I’m using Unreal Engine 5.3.2
and Advanced Sessions
without Advanced Steam Sessions
as I don’t need anything else from Steam then getting the list of server. As I am still in testing stage I’m using ID 480.
Inside the editor I can host and join sessions without any issue, but after I used Project Launcher to create a shipping/distribution form of the game, when I tested it on two different PC that are even on the same network, I can’t see any servers, but if I launch two instanced of the game on the same PC then I can see the servers and join them.
Inside DefaultEngine.ini
I added this:
[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="/Script/OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="/Script/OnlineSubsystemUtils.IpNetDriver")
[OnlineSubsystem]
DefaultPlatformService=Steam
bHasVoiceEnabled=true
[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"
[Voice]
bEnabled=true
This is what I set for creating the session:
Is there anything else I need to do when testing the game in shipping/distribution form? It is still too early for me to buy an ID from Steam, and I want to test it with 480. I read somewhere about a AppID.txt file with only 480 inside it, but it didn’t said where to place it.
Also, later on when I buy that ID, beside changing from SteamDevAppId=480
to my ID, is there anything else I would need to do to the game itself?