Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

Mirror

> 编程语言
Open source

#1 Open Source Unity Networking Library

6.3K stars0 likes3 views
WebsiteGitHub

About

#1 Open Source Unity Networking Library


It's only the dreamers who ever move mountains.

Mirror Networking

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 ❤️.


Features

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

Architecture

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


Free, Open Source & Community Focused

Mirror is free & open source (MIT Licensed).

"Free" as in free beer, and freedom to use it any way you like.

  • Host Game Servers anywhere!
  • Customize anything freely!
  • No paywalls, no CCU costs, no strings attached!

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.


Getting Started

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 - Anti Cheat

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!


Made with Mirror

Thousands of Steam Games

Mirror is used by thousands of steam games.

Population: ONE

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!

Zooba

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.

Swarm VR

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.

Liars Bar


With over 20.000 Overwhelmingly Positive reviews on Steam, Liars Bar is one of our largest showcase games of 2024.

This isn't your average pub – it's a den of lies, deception, and mind games. Grab a seat at a table of four and immerse yourself in the ultimate first-person multiplayer online experience where cunning and trickery are the name of the game.

[Castaways](https://www.castaways

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#gameshlapikcplibuv

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言