Download SDK

Install the Unity package via UPM or from disk.

v1.0.0
Unity 2021.3 LTS+
MIT License
View on GitHub

Git URL (Recommended)

Auto-updates

Install directly from GitHub via Unity Package Manager. Gets updates automatically when you refresh.

  1. 1Open Unity Package Manager
  2. 2Click + → "Add package from git URL"
  3. 3Paste the URL below
  4. 4Click Add and wait

UPM Git URL

https://github.com/AzhariMabar/mabar-multiplayer-unity-sdk.git
Auto-updates from repo
No manual file management
Version pinning via #tag
Requires internet access

From Disk

Offline

Clone the repo and install locally. Best for contributing or offline environments.

  1. 1Clone the unity-sdk repo
  2. 2In Package Manager, click + → "Add package from disk"
  3. 3Navigate to the cloned folder
  4. 4Select package.json → Open
github.com/AzhariMabar/mabar-multiplayer-unity-sdk
Works offline
Easy to modify source
No network required
Manual updates needed

What's Included

Core SDK

Multiplayer class, session management, token lifecycle

Auth System

Anonymous guest login with Bearer token — no email or Firebase SDK needed

Turn System

SubmitTurn() with server-side validation — only current player can submit

Room Management

Create, join, leave rooms with limits, private rooms, and invite codes

Editor Tools

Setup wizard, settings inspector, validation UI

Samples

Turn-based game example with REST polling and room lifecycle

Requirements

Unity VersionUnity 2021.3 LTS or later
Package Namecom.mabar.multiplayer
External DependenciesNone — pure C#, no extra packages
Firebase in UnityNot required — handled server-side
WebGL SupportSupported via WebSocket

Next Steps