βš™οΈPreparing The Project For Use With This Plugin

  1. Enable the "OnlineSubsystem", the "OnlineSubsystemUtils" & the "OnlineSubsystemSteam" plugin which are pre-installed in the engine.

  2. Edit the DefaultEngine.ini file of your project (X:\…\YourProjectName\Config\DefaultEngine.ini) and insert the following at the end:

[/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"

Info: Instead of β€œ480” you should use your own Steam Dev App ID (Can be found next to your game's name in your Steamworks dashboard). For testing purposes or for developing, you can use β€œ480” though. Just don’t forget that other leaderboards already exist which were created by other developers πŸ˜‰

Related Link: Learn more about what each config setting does: Online Subsytem Steam Documentation

  1. Restart the engine

  2. Start Steam/Let it run in the background

  3. Be logged into a Steam account that owns the game (Everyone automatically owns the game with the Dev App ID of 480, it is just hidden)

  4. Play in Standalone, Launch, or Package your game. (Doesn’t work in PIE aka. Play in Editor)

Last updated