Steam lobbies
With Project Settings → Plugins → Crossplay → Lobbies → Lobby Service set to Platform Only, or when EOS is not available, lobbies are Steam lobbies. The same nodes and events work:
- CreateCrossplayLobby, FindCrossplayLobbies, JoinCrossplayLobby and LeaveCrossplayLobby
- typed lobby and member attributes, and search filters
- invites: SendCrossplayInvite with a Steam user, On Invite Received, Show Invite Overlay
- member joined and left events, and join requests from the Steam overlay
- StartCrossplayMatch over Steam P2P
JoinCrossplayLobby recognizes Steam lobby ids, so a Steam lobby invite can be joined even when new lobbies are created in EOS.
Steam lobbies do not need EOS. They keep working when the EOS login fails, see When the EOS login fails.
Differences from EOS lobbies
- Steam only searches on the bucket and Equal filters. The other filters (Greater, Less, Not Equal, floats) are applied to the results, so put an Equal filter in the search when there are many lobbies.
- Only the lobby owner can set lobby attributes.
- Crossplay is false on the lobby, and members have no Product User Id unless they are also logged in to EOS.
- No EOS voice room. Voice works in the match with the engine's VoIP, see Voice chat.
- Steam stores only strings. The plugin stores the attribute types next to the values, so they come back with the type they were set with.
Matches over Steam P2P
In Steam lobbies, StartCrossplayMatch runs over Steam P2P instead of EOS P2P.
- Use SteamCore PRO, or enable the engine's SteamSockets plugin with OnlineSubsystemSteam.
- The plugin switches the game net driver to
SteamCoreSocketsNetDriver(SteamCore PRO) orSteamSocketsNetDriverwhen the match starts, and writessteam.<SteamID>:<port>to the lobby as the match address.
SteamSockets needs OnlineSubsystemSteam to be the active Steam subsystem. SteamCoreSockets needs SteamCore PRO and these two settings, which are off by default:
[OnlineSubsystemSteamCore]
bUseSteamNetworking=True
bAllowP2PPacketRelay=True
bUseSteamNetworking starts SteamCoreSockets, and bAllowP2PPacketRelay makes it use steam. addresses instead of
IP addresses. Without them the match can't start.
Neither runs in the editor, so test Steam matches in standalone or packaged builds. StartCrossplayMatch gives Not Supported when neither is available.
Matches over Steam P2P also work on Linux, where matches over EOS P2P don't.