About Mirror
- Tools, Systems & Learning > Game Templates & Systems
Mirror is the #1 free open source game networking library for Unity 2019 / 2020 / 2021 / 2022 / 2023 / 6000.
Used in production by major hits like Population: ONE and many more.
Originally based on UNET: battle tested since 2014 for 9 years and counting!
Mirror is stable, modular & easy to use for all types of games, even small MMORPGs.
Architecture
The Server & Client are ONE project in order to achieve maximum productivity.
Simply use NetworkBehaviour instead of MonoBehaviour, with:
• [Server] / [Client] tags for server-only / client-only code
• [Command] for Client->Server function calls
• [ClientRpc] / [TargetRpc] for Server->Client function calls
• [SyncVar] / SyncList to automatically sync variables from Server->Client.
Making multiplayer games this way is fun & easy!
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!
• Transports: UDP, TCP, WebGL, Steam, etc.
• Interest Management
• Sync Direction
• Latency Simulation
• Batching
• Rpcs & SyncVars
• Allocation Free
• Transform & Physics Sync
• Child Components
• IL Post Processing
• Two Click Hosting
• Snapshot Interpolation
• Lag Compensation
• Prediction
• Two Click Hosting
Getting Started
Get Unity 2019/2020/2021/2022/2023/6 LTS, download Mirror, open one of the examples & press Play!
Check out our Documentation to learn how it all works.
Anti Cheat
Protect your game with Guard, our new Anti-Cheat solution for Unity multiplayer games.
Used in production by major hits like Population: ONE and many more.
Originally based on UNET: battle tested since 2014 for 9 years and counting!
Mirror is stable, modular & easy to use for all types of games, even small MMORPGs.
Architecture
The Server & Client are ONE project in order to achieve maximum productivity.
Simply use NetworkBehaviour instead of MonoBehaviour, with:
• [Server] / [Client] tags for server-only / client-only code
• [Command] for Client->Server function calls
• [ClientRpc] / [TargetRpc] for Server->Client function calls
• [SyncVar] / SyncList to automatically sync variables from Server->Client.
Making multiplayer games this way is fun & easy!
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!
• Transports: UDP, TCP, WebGL, Steam, etc.
• Interest Management
• Sync Direction
• Latency Simulation
• Batching
• Rpcs & SyncVars
• Allocation Free
• Transform & Physics Sync
• Child Components
• IL Post Processing
• Two Click Hosting
• Snapshot Interpolation
• Lag Compensation
• Prediction
• Two Click Hosting
Getting Started
Get Unity 2019/2020/2021/2022/2023/6 LTS, download Mirror, open one of the examples & press Play!
Check out our Documentation to learn how it all works.
Anti Cheat
Protect your game with Guard, our new Anti-Cheat solution for Unity multiplayer games.