Online subsystem Steam and Null

Hi everyone.

I’m stuck in my project with a very common problem, that a lot of people have, when they develop videogames, that have access to Steam or Globaly. Well none of those options work for me, I tried: Online subsystem Steam and Online subsystem Null. I also included this code into my DefaultEngine.ini as everyone does:

[OnlineSubsystem]
DefaultPlatformService=Null

and

[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName=“GameNetDriver”,DriverClassName=“OnlineSubsystemSteam.SteamNetDriver”,DriverClassNameFallback=“OnlineSubsystemUtils.IpNetDriver”)

[OnlineSubsystem]
DefaultPlatformService=Steam

[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480

[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName=“OnlineSubsystemSteam.SteamNetConnection”

It worked in PIE mode but not in standalone version. I know, that you need 2 pcs to test your project via Steam and I did that but the message was always: No sessions found. I’ve also checked the box in the plugins: OnlineSubsystem Steam.

If everyone has that problem solved please post a solution or just comment. Thanks!

Hello,

Try increasing your Max Session Results as detailed in the posts linked below:

There are many people testing Steam Integration using the 480 app id, which means that when you’re looking for servers to join you may find many incompatible servers so you’ll need to increase the max results to account for that.

Have a great day

I have tried that and it didn’t work. I set the session results to 9999999 and still nothing.

Try launching your (non-shipping) game with these additional command-line parameters -log -LogCmds="LogOnline All" and check your client’s log file. This should help show what is going on.

1 Like

@Maide, I would like to thank you for your command line parameters. I now have my first dedicated findable server working thanks to your tip. The clues in the log were such a help.
May I ask where you came across such esoteric knowledge. I am experimenting my way forwards with the unreal engine and such tips are like gold dust. Do you have any suggestions about sources of information that might help? It is the C++ networking/server stuff that I am pursuing at the moment and any information on books, tools, websites, tutorials etc would be gratefully received. I do electronics, big sums and C++ tolerably well but the Unreal engine is quite different to a microcontroller.
thanks again.
Podge.