#1 Open Source Unity Networking Library
It's only the dreamers who ever move mountains.
The #1 free open source game networking library for Unity, used by over 200 million players.
Powering major hits like Population: ONE and over 1000 Steam Games.
Originally based on UNET: battle tested since 2014 for 10 years and counting!
Mirror is stable, modular & easy to use for all types of games, even small MMORPGs .
Made in with ❤️.
Mirror comes with a wide variety of features to support all game genres.
Many of our features quickly became the norm across all Unity netcodes!
| Feature | Description | Status |
|---|---|---|
| Transports | UDP, TCP, Websockets, Steam, Relay and more. | Stable |
| Interest Management | Spatial Hashing & Distance Checker to partition the world. | Stable |
| ↗️ SyncDirection | Server & Client Authority - per component with one click. | Stable |
| Latency Simulation | Simulate latency, packet loss & jitter locally. | Stable |
| Batching | Minimize message overhead via batching automatically. | Stable |
| RPCs & SyncVars | Synced vars and remote function calls built in & safe. | Stable |
| ♀️ Allocation Free | Free of runtime allocations and no GC (except Transports). | Stable |
| Transform & Physics | Transform & Physics sync built in. | Stable |
| Child Components | Put networked components on anything. | Stable |
| ️ IL Post Processing | Zero overhead [Rpcs] and [Commands] via IL post processing! | Stable |
| ☁️ Two Click Hosting | (Optional) Build & Push directly from Unity Editor to the Cloud. | Stable |
| Snapshot Interpolation | Perfectly smooth movement for all platforms & genres. | Stable |
| Lag Compensation | Roll back state to see what the player saw during input. | Beta |
| Encryption | Secure communication with end-to-end encryption. | Beta |
| Cheat Detection | Mirror Guard safely detects Melon Loader & more. | Beta |
| Unreliable Mode | Quake style Unreliable SyncMode for any component. | Development |
| ♂️ General Purpose | Mirror supports all genres for all your games! | |
| ♀️ Stable API | Long term (10 years) stability instead of new versions! | |
| Battle Tested | Mirror serves over 100 million players. It just works! | |
| Free & Open Source | MIT licensed without any restrictions to minimize risk! | |
| ❤️ Community | Join our Discord with nearly 15.000 developers world wide! | |
| ♀️ Long Term Support | Maintained since 2014 with optional LTS version! | |
| Bitpacking | Optimized compression (bools as 1 bit etc.) | Researching |
| Prediction | Simulate Physics locally & apply server corrections. | Researching |
The Server & Client are ONE project in order to achieve maximum productivity.
Simply use NetworkBehaviour instead of MonoBehaviour.
Making multiplayer games this way is fun & easy:
…There's also NetworkServer & NetworkClient.
And that's about it
Mirror is free & open source (MIT Licensed).
"Free" as in free beer, and freedom to use it any way you like.
We are a team of professional game developers, who are paid to use Mirror in production. Our incentives will always align with the community, because we are Mirror users just like you!
❤️ Our fantastic community of over 14,000 users contributes feedback & improvements every day. Please join us on our journey, help others, and consider a Donation if you love our work!
The top quote is from Fitzcarraldo, which is quite reminiscent of this project.
Get Unity 2019 / 2020 / 2021 / 2022 LTS and 6000.1, Download Mirror, open one of the examples & press Play!
Check out our Documentation to learn how it all works.
If you are migrating from UNET, then please check out our Migration Guide.
Guard is a high impact, zero risk anti-cheat solution built specifically for Unity games. Unlike most commercial anti-cheats, Guard is embedded on the source code level and compiles with your project.
Guard is available on the Asset Store and includes a Mirror Integration!
Mirror is used by thousands of steam games.
The BigBoxVR team started using Mirror in February 2019 for what eventually became one of the most popular Oculus Rift games.
In addition to 24/7 support from the Mirror team, BigBoxVR also hired one of our engineers.
Population: ONE was acquired by Meta in June 2021, and they've just released a new Sandbox addon in 2022!
Wildlife Studio's hit Zooba made it to rank #5 of the largest battle royal shooters in the U.S. mobile market.
The game has over 100 million downloads on Google Play, with Wildlife Studios as one of the top 10 largest mobile gaming companies in the world.
SPIDER-MAN WITH GUNS!
SWARM is a fast-paced, arcade-style grapple shooter, with quick sessions, bright colorful worlds and globally competitive leaderboards that will take you back to the glory days of Arcade Games.
Available for the Meta Quest, made with Mirror.
No open issues yet, or sync has not completed.