Creating Sessions
This guide explains how to create a multiplayer game session in Unreal Engine using the SteamCore plugin. You can establish an online game session with the Create SteamCore Session node and configure your map to accept multiplayer connections by using the listen
parameter.
Prerequisites
- SteamCore PRO plugin installed and enabled in your Unreal Engine project.
- A configured
DefaultEngine.ini
file with SteamCore settings (refer to SteamCore Setup Documentation).
info
A Video Tutorial is available to guide you through the process: Setting Up Steam Multiplayer.
Creating the Session
To set up a basic multiplayer session, follow these steps:
-
Use the Create SteamCore Session Node:
- In your game logic (e.g., Game Instance or Game Mode Blueprint), add the Create SteamCore Session node.
- This node initializes a SteamCore session, enabling multiplayer functionality.
-
Open the Map with Listen Parameter:
- After a successful session creation, use the Open Level node with the
listen
parameter to open your desired multiplayer level. - The
listen
option allows the server to accept incoming multiplayer connections from clients.
- After a successful session creation, use the Open Level node with the
Example Workflow
- Add the Create SteamCore Session node to your Blueprint and configure session settings (e.g., session name, visibility).
- Connect the node’s success output to an Open Level node.
- Set the level name (e.g.,
YourMultiplayerMap
) and the parameterlisten
in options. - Execute the flow to start the session and listen for connections.
Notes
- Session Success: Ensure the Create SteamCore Session node completes successfully before opening the level with
listen
. Add error handling for failed session creation.