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.
Save on hosting with simple pricing
Relay offers a free tier that covers your pre-development needs and pricing based on average concurrent users (CCU) and egress consumptions – so you only pay as your game grows.
Our pricing model is designed to protect you from otherwise expensive peaks in your CCU by only charging based on the average number of users and egress your game has in a given month.


Level up with other services
Relay plays well with other multiplayer services – like Lobby, Unity Netcode solutions, and Mirror.
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 multiplayer game with Unity Netcode solutions or Mirror – both integrable with Relay.
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.
Relay offers a generous free tier that covers projects up to the first 50 CCU. After that, pricing is based on average CCU. See the UGS pricing page for more details.
The self-serve Relay onboarding process on Unity Dashboard is available to all users. Simply click “Get Started” on the Relay page.
We have a Game Lobby 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.
Additionally, our Boss Room sample leverages Relay, Lobby, and Netcode for GameObjects in a small scale cooperative RPG.
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.