Documentation

Support

Relay

Relay

Unity Relay

Learn how to connect players securely using the Relay service without dedicated game servers.
Read time 1 minuteLast updated 25 days ago

Note
For new multiplayer projects, use the Multiplayer Services SDK to access Lobby, Relay, and Matchmaker through a single API instead of individual SDKs. The Multiplayer Services SDK provides streamlined setup, optimized workflows, and compatibility with other Unity Gaming Services, which reduces manual configuration and accelerates multiplayer feature development.
Unity Relay exposes a way for game developers to securely offer increased connectivity between players by using a join code style workflow without needing to invest in a third-party solution, maintain dedicated game servers (DGS), or worry about the network complexities of a peer-to-peer game. Instead of using DGS, the Relay service provides connectivity through a universal Relay server acting as a proxy. The Relay service has two key components: the Relay servers and the Relay Allocations service.