Mirror Networking

Mirror Networking

Mirror is a high level Networking API for Unity, supporting different low level Transports.

Mirror is built and tested for MMO Scale Networking by the developers of uMMORPG, uSurvival and Cubica.

Mirror is optimized for ease of use and probability of success. Mirror makes networking easy, concise and maintainable. uMMORPG was possible with <6000 lines of code. We needed a networking library that allows us to launch our games, period.

With Mirror, the Server & Client are ONE project (hence the name). Instead of having one code base for the server and one for the client, we simply use the same code for both of them.

  • [Server] / [Client] tags can be used for the server-only and client-only parts
  • [Command]s are used for Client->Server communication
  • [ClientRpc] / [TargetRpc] for Server->Client communication
  • [SyncVar]s and SyncLists are used to automatically synchronize state.