#1 Open Source Unity Networking Library
Go to file
2020-09-08 17:18:05 +02:00
.github Remove ScriptTemplates to clean up folder (#2213) 2020-09-04 07:55:11 +02:00
Assets fix: ClientScene.localplayer is now set to null when it is destroyed (#2227) 2020-09-08 09:45:24 +02:00
doc docs: fixing v16.9.0 release date 2020-09-05 20:42:54 +01:00
Packages Upgraded to Unity 2018.4.25 LTS 2020-07-30 19:09:22 +02:00
ProjectSettings adding version define from v18 breaking change (#2214) 2020-09-03 15:46:15 +01:00
.editorconfig ci: Release only if tests pass (#1692) 2020-04-11 20:46:44 -05:00
.gitattributes ensure future c# code has consistent EOL 2019-01-05 10:09:05 -06:00
.gitignore restored 1bitpack_kenny metas 2020-04-19 17:32:51 -04:00
.releaserc.yml feat: Add version to package file (#1361) 2019-12-26 10:15:38 -06:00
alt rigidbody.txt adding assert to make sure transport is set (#2164) 2020-08-18 18:57:31 +02:00
appveyor.yml ci: if docs have errors, fail the PR (#2065) 2020-07-04 13:49:02 +02:00
CONTRIBUTING.md updating Contribute (#2219) 2020-09-05 22:20:53 +02:00
FUNDING.yml move the funding button to where github can find it 2019-12-13 06:42:15 -06:00
LICENSE Proper MIT license (#1431) 2020-01-13 11:38:34 +01:00
README.md Update README.md 2020-09-08 17:18:05 +02:00
Regex for comment.txt adding assert to make sure transport is set (#2164) 2020-08-18 18:57:31 +02:00
setversion.ps1 fix build with appveyor warning (#1340) 2019-12-21 14:20:06 -06:00

Mirror Logo

Download Documentation Video Tutorial Forum Build Coverage Discord release

Mission

Mirror is a high level Networking API for Unity, built on top of the low level Telepathy library.

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

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

Architecture

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 / SyncLists are used to automatically synchronize state

Note: Mirror is based on Unity's abandoned UNET Networking system. We fixed it up and pushed it to MMO Scale.

Low Level Transports

Getting Started

Download Mirror on the Asset Store, 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. Don't panic, it's very easy and won't take more than 5 minutes.

Funding

Mirror is free & open source software funded by Donations. If you love it, please consider supporting Mirror on GitHub. As reward, you'll receive our Network Profiler, priority support access and more :)

Benchmarks

Development & Contributing

Mirror is used in production by games ranging from small indie projects to large scale MMORPGs that will run for a decade.

Imagine if your dream game requires networking bug fixes 10 years from now when most contributors moved on and you are left alone with the code base. It is of utmost importance that we follow the KISS principle in order for our future games to survive.

Mirror has plenty of features. What matters now is that we make them as simple, as stable and as performant as possible (in that order).

If you want to contribute, please keep that mind and understand that while fixes / tests / improvements are highly appreciated, new features have a low probability of being merged.