Skip to content

Put your Unity game online with one App ID.

SyncVerse runs the rooms, the lobby and the state sync. Paste the App ID into Unity, press Play, and two players share one world. Or run the same open-source server yourself.

You're on the island Everyone reading this page right now is on it with you, connected through SyncVerse. Click the island to walk, click yourself to pick a name.

Connecting to the island

A room in a few lines of C#.

The SDK speaks the same protocol to SyncVerse Cloud and to your own server. Callbacks run on Unity's main thread. The lines below light up as they happen to you on the island.

Island.csspawnnameemotecrystal
using SyncVerse;
using UnityEngine;
 
// What the island above does, written with the Unity SDK.
public class Island : MonoBehaviour {
    readonly SyncVerseMaster master = new SyncVerseMaster ();
    SyncVerseRoom room;
    SyncVerseView me;
 
    void Start () {
        master.OnConnected += () =>
            master.JoinRandomRoom (res => {
                if (res.Success) Enter (res.Room);
                else master.CreateRoom ("island", new RoomOptions { MaxPlayers = 16 }, r => Enter (r.Room));
            });
        master.Connect ();
    }
 
    void Enter (RoomInfo info) {
        room = master.ConnectToRoom (info);
        room.OnConnected += () => room.Join ("Violet Fox");
        room.OnJoined += () =>
            me = room.Instantiate ("Visitor", spawn, Quaternion.identity).GetComponent<SyncVerseView> ();
    }
 
    public void Rename (string name) =>
        room.LocalPlayer.SetCustomProperty ("name", name);
 
    public void Emote (byte e) =>
        me.RPC ("Emote", RpcTarget.All, e);
 
    // Buffered: whoever joins later still sees your crystal.
    public void Plant (Vector2 at) =>
        me.RPC ("Crystal", RpcTarget.AllBufferedLast, at);
}
  • Lobby and room listCreate rooms by name, join by name or at random, and keep a live list of open rooms.
  • Ownership you can hand overEach networked object has an owner. Ownership is fixed, taken over, or requested and granted.
  • RPCs late joiners still seeBuffered RPCs and spawns are replayed, in order, to anyone who joins later.
  • Smooth remote movementTransforms, animators and rigidbodies sync out of the box, with interpolation on the receiving side.
  • Master client handoverWhen the room's master client leaves, the next player takes over its scene objects.
Lobby.cs
using SyncVerse;
using UnityEngine;

public class Lobby : MonoBehaviour {
    readonly SyncVerseMaster master = new SyncVerseMaster ();
    SyncVerseRoom room;

    void Start () {
        master.OnConnectFailed += reason => Debug.LogError (reason);
        master.OnConnected += () =>
            // Creates "arena", or hands back the existing one so you join it.
            master.CreateRoom ("arena", new RoomOptions { MaxPlayers = 8 }, res => {
                room = master.ConnectToRoom (res.Room);
                room.OnConnected += () => room.Join ("Ava");
            });
        master.Connect (); // App ID comes from the SyncVerseSettings asset
    }
}

What happens when a game connects.

  1. Connect with the App ID

    The game opens a socket to the gateway with its App ID, plus an access token if the project requires one.

  2. Gateway checks the project

    App ID, allowed origins, plan limits. A refusal is answered before any socket opens.

  3. Room gets a node

    Creating or finding a room returns the game node that hosts it and a ticket valid for 30 seconds.

  4. Game joins the node

    The node checks the ticket offline and starts the room on first use.

  5. Room relays the game

    State, RPCs, spawns and ownership changes flow through the room, and late joiners catch up.

Once you are on the island above, this line shows your own measured round trip to the room.

Each open socket counts toward the project's concurrent connections. The SDK closes its lobby socket when it enters a room, so a playing client usually counts once. When a connection is refused, the SDK asks the server why and reports a typed reason such as QuotaExceeded or InvalidToken.

Five quests before you leave.

Each one is something the SDK does for your game. The first three happen on the island above; the last two take you to the docs and the dashboard. Progress stays in this browser.

Quest log0 / 100 XP
  1. Name your avatar+20 XP
  2. Walk somewhere+20 XP
  3. Wave at someone+20 XP
  4. Read the quickstart+20 XP
  5. Create a free project+20 XP

The same server, hosted or yours.

The game server is open source under the MIT license. Cloud runs exactly that code on its game nodes and adds the parts you would otherwise build yourself.

Run it yourself
git clone https://github.com/simple-yet-efficient/syncverse-server
cd syncverse-server
npm install && npm run build
PORT=9000 npm start          # ws://localhost:9000/master

Then set the SDK to Self-hosted with your server URL. See the self-hosting guide for TLS and settings.

Your serverSyncVerse Cloud
Rooms, RPCs, ownershipYesYes, same code
ScalingOne processRooms spread over game nodes
Who can connectAnyone with the URLApp ID, optional tokens, allowed origins
Dashboard and live roomsNoYes, with kick and close
Usage historyNoConnections, rooms, traffic
WebhooksNoRoom and player events, signed
TLSYour reverse proxyIncluded

Get started, hosted

  1. Create a free account

    Sign up in the dashboard with your email. New accounts start on the Free plan. Create a project and copy its App ID.

  2. Point the Unity client at it

    In Unity open SyncVerse › Cloud Setup, paste the App ID and set the Cloud URL to wss://syncverse.aqaddoura.com, then press Test connection. The client checks the protocol version on the first frame.

  3. Create a room, bring a friend

    Create a room from one client and join it from another. Whoever arrives late is caught up from the buffered log.

Test server, ready now
Sign up   syncverse.aqaddoura.com/login
Lobby     wss://syncverse.aqaddoura.com/master
Rooms     handed out by CreateRoom / JoinRandomRoom
Region    EU (Frankfurt, Germany)

Step by step: the Unity quickstart.

Free while you build.

Pick your difficulty. One plan for now. Limits apply per project; paid plans come later.

EasyAvailable

Free

No card needed.

Projects
2
Concurrent connections per project
20
Players per room
16
Rooms open at once per project
10
Region
EU

A project with no connections for 90 days is paused. Reactivate it from the dashboard.

Play now
NormalLocked

Indie

Coming later. No price yet.

  • Higher connection and room limits
  • More regions
HardLocked

Studio

Coming later. No price yet.

  • Team members on a project
  • Limits agreed per game

Questions, answered.

Is SyncVerse really open source?

Yes. The server is MIT-licensed TypeScript on uWebSockets.js, with its tests and a documented wire protocol. The self-hosting guide shows how to run it and the protocol reference lists every message.

What does “hosted” mean here?

We run that same server for you: the master endpoint with the room directory and lobby, and the room endpoints that relay your game's frames. You sign up in the dashboard, get an App ID, and point your Unity client at it.

Does it work in Unity WebGL builds?

Yes. The WebGL transport ignores text frames, so everything, including the lobby's JSON, travels in binary WebSocket frames. Use a wss:// address for pages served over HTTPS. The island at the top of this page speaks the same protocol from a browser.

Is the server authoritative?

It's a relay with rules. The server doesn't run your game logic, but it does check every message: only a view's owner may sync it, only the master client may change room props and options, and ownership transfers follow each view's mode. A message that breaks a rule gets an ErrorEvent back.

What happens when the host leaves?

The master client role moves to the next player in join order and scene views follow it. The views the leaving player owned go with them, along with the buffered log entries they sent. A view they handed to someone else earlier stays.

What are the limits?

The open-source server's defaults are configurable: up to 64 players per room, 64 KiB per frame and 1,000 buffered log entries per room. The hosted Free plan's limits are in the pricing section above and in the limits page of the docs.

How do paid plans and payment work?

Paid plans come later and have no price yet. This page never asks for payment details or a wallet.

Can I move from hosted to my own server later?

Yes. It's the same server and the same protocol either way, so moving is a matter of running it and changing the address your client connects to.

Get two players into one room today.