Getting started
Introduction
SyncVerse puts Unity games into shared rooms: a lobby, rooms, networked objects and RPCs.
What is SyncVerse?
SyncVerse is an open-source multiplayer server and Unity SDK for room-based online games. Players meet in a lobby, create or join rooms, and the server relays networked objects with ownership, state sync with interpolation, and RPCs, replaying buffered spawns and RPCs to late joiners. You can self-host the MIT-licensed TypeScript server (public source release with the public launch) or use SyncVerse Cloud with an App ID, which includes a free test server in the EU (Frankfurt, Germany). It supports Unity 2021.3 or newer, including WebGL builds.
SyncVerse is multiplayer for Unity built around rooms. Players connect to a lobby, create or find a room, and join it. Inside a room the server relays object state, RPCs and ownership changes between players, and replays what a late joiner missed.
It has two parts:
- The Unity SDK (C#):
SyncVerseMasterfor the lobby,SyncVerseRoomfor a room,SyncVerseViewon every networked object. - The game server (TypeScript, open source, MIT). It serves the lobby on
/masterand rooms on/rooms/<id>over WebSockets.
Cloud or your own server
You can use the same SDK and the same server code in two ways.
| SyncVerse Cloud | Self-hosted | |
|---|---|---|
| What you configure in Unity | An App ID | Your server URL |
| Who runs the server | We do, on game nodes in the EU | You, one process |
| Access control | App ID, optional access tokens, allowed origins | None built in |
| Dashboard, usage, webhooks | Yes | No |
Moving between them is a settings change in Unity. Start with the Unity quickstart, or read Self-hosting to run the server yourself.
How the pieces fit
- The game connects to the lobby (
/master) and gets a room: by creating it, by name, or at random. - The answer names the server that hosts the room. In the cloud it also carries a short-lived ticket for that server.
- The game opens a second socket to the room, joins as a player, and spawns its objects.
The full wire format is documented in the protocol reference.