Plugin for handling multiplayer Unreal Engine 5 Project sessions across the Internet. Available options:
- LAN
- Steam
To use the plugin in your project:
- Move the
MultiplayerSessions
folder to thePlugins
folder in the root folder of your project. - Enable the Online Subsystem Steam plugin for the project:
in UE editor: Edit → Plugins:
- Add settings to the config files in the
Config
folder:- Steam settings in
DefaultEngine.ini
:
[/Script/Engine.GameEngine] +NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver") [OnlineSubsystem] DefaultPlatformService=Steam [OnlineSubsystemSteam] bEnabled=true SteamDevAppId=480 bInitServerOnClient=true [/Script/OnlineSubsystemSteam.SteamNetDriver] NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"
- Game session settings in
DefaultGame.ini
:
[/Script/Engine.GameSession] MaxPlayers=100
- Steam settings in
- Regenerate project files: RMB on the .uproject → Generate Visual Studio project files.
- [Optional] You can use the menu widget of the plugin to host/join sessions through the UI in the following way (e.g. Level Blueprint):