
Enable great multiplayer experiences with Relayᴮᴱᵀᴬ
The Relayᴮᴱᵀᴬ service allows you to connect your players and provide great multiplayer gaming experiences without the need for a costly dedicated game server. Our service enables easy and secure peer-to-peer, listen-server UDP communications between players.
Get resources and support from Unity’s live docs
Unity’s Relay solution is evolving on a daily basis and you can keep up-to-date with any changes through the live documentation site.
Dive into the documentation to check out the technical references, tutorials, and more to get you started with Relay.


Level up with Lobby and Netcode for GameObjects
Relay works best with Netcode for GameObjects and Lobby.
Provide better multiplayer gaming experiences with Lobby by sending service-to-service notifications when a player disconnects from the game and automatically removes zombie players.
Plus, access a reliable foundation for your small-scale cooperative game with Netcode for GameObjects.
Frequently asked questions
Relay includes 2 main components:
- The Relay Server that is attached to the low-level Unity Transport layer to send bytes across clients.
- The Relay Allocation service that works on the backend to enable players to create and join matches via sharing access code.
There are currently no costs for Relay and it will remain free for the duration of the beta. Pricing will be introduced once Relay moves into general availability. For more details, please visit the UGS pricing page.
The self-serve Relay onboarding process on Unity Dashboard is available to all users. Simply opt into open beta and click “Get Started” on the Relay Page on the Unity Dashboard.
We have a sample that demonstrates how to use the Lobby and Relay packages to create a typical game lobby experience. This sample leverages Relay, Lobby, Unity Transport and Vivox Voice chat. You can find the sample repo and documentation here.
Relay and Lobby can be used separately. However, we do recommend using them together because:
- Combined, they improve the player experience by providing automatic disconnect notifications when a player leaves the lobby.
- Relay sends notifications to Lobby when a player disconnects from the game, so the Lobby can remove the disconnected player.