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

circle-check
  1. Enable the "OnlineSubsystem", the "OnlineSubsystemUtils" & the "OnlineSubsystemSteam" plugins 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"
circle-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 Documentationarrow-up-right

  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. Use Play in Standalone, Launch, or Package your game. (Doesn’t work in PIE aka. Play in Editor)

This plugin is now ready to be used βœ…

Common mistake when using asynchronous nodes:

Make sure to always use the "On Success" and the "On Fail" pin.

The exec pin above these two runs instantly so it runs before the asynchronous node has any results.

Last updated