Mirror

FREE
Publisher Mirror Networking
File size 10.16MB
Number of files 766
Latest version 89.0.0
Latest release date 2024-03-06 04:39:13
First release date 2018-10-01 05:39:08
Supported Unity versions 2018.4.2 or higher

Mirror


(GitHub) (LTS) (Forum) (Discord) (Docs) (Sponsors)


The #1 free open source game networking library for Unity 2019 / 2020 / 2021.



Used in production by major hits like Population: ONE and many more.



Originally based on UNET: battle tested since 2014 for 8 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!



Low Level Transports


â–£ KCP: reliable UDP


â–£ Telepathy: cross platform TCP


â–£ LiteNetLib: UDP


â–£ Ignorance: ENET UDP


â–£ Simple Websockets: Websockets


â–£ FizzySteam: SteamNetwork


â–£ Epic Transport: Free Relay



Getting Started


Get Unity 2019/2020/2021 LTS, download Mirror, open one of the examples & press Play!



Check out our Documentation to learn how it all works.



Funding


Mirror is free & open source software funded by Donations. If you love it or need priority support, please consider supporting Mirror on GitHub :)



Development & Contributing


Mirror is used in production by games ranging from indie projects to small MMOs that will run for a decade or more.



10 years from now if your players encounter a networking bug and most of our contributors already moved on, someone will need to fix it. Therefore it is of utmost importance for us to follow the KISS principle in order for our games to survive.



Keeping the next decade in mind, contributing fixes / tests / improvements is highly appreciated while new features have a low probability of being merged.



At this point, what we don't add to Mirror is more important than what we do add to it!



Build the Metaverse, with Mirror Networking!



---


This asset uses Mirror under MIT License; kcp under MIT License; Mono.Cecil under MIT License; Telepathy under MIT License. See Third-Party Notice.txt file in package for details.

Top Publisher Assets