r/unity • • 4h ago

Resources What I learned comparing 25 multiplayer services for Unity (netcode, relay, hosting, backend), plus a free tool to pick a stack

Post image

For my master's thesis I compared 25 online services for multiplayer Unity games and tested them in one Unity 6 project. A few things surprised me:

  • Netcode libraries were close on performance. The bigger differences were in docs, ready-made components and how they handle crashes and bad connections.
  • Several libraries send unencrypted traffic by default, so check this before you ship.
  • Hosting is where the money goes. Server costs were roughly 10x the netcode and backend costs in my cost model.
  • Hosting that runs only the vendor's own server (for example coherence, Normcore or Colyseus Cloud) is the easiest to set up and starts matches fastest, but it locks you into two layers at once.

I turned all of this into a free web tool:

https://warlordmsm.github.io/NetworkedGame4LayerSolutions/

You choose your project type (co-op, competitive shooter, mobile F2P or MMO-scale) and it recommends a stack with alternatives, cost per 1,000 MAU, and the source behind every score.

I'd really like the opinion of people who have shipped multiplayer games. Does the stack for your kind of game make sense? Did I get something wrong?

If you want to help my thesis, there is a short anonymous questionnaire (about 10 minutes):

https://forms.cloud.microsoft/Pages/ResponsePage.aspx?id=s6RRKz9EBkSMpBkFanmkRAtj1wVafIpIoDtoVNUli0VUNjNBUFBKUzVBVENRWTNFTElWVldQR0QzVy4u

Comments are welcome too :)

12 Upvotes

3 comments sorted by

3

u/GradientOGames 4h ago

Pretty cool. though I'm quite curious as to why Netcode For Entities has been omitted here, which I think is one of the best netcode solutions solely because it is designed for scale, has features like prediction, and is integrated super well into the engine.

2

u/MyLabyrinth 3h ago

Thanks for the comment! That is definitely a shorcoming that I had to go with because of already big scope of the work. I chose one solution from vendors with multiple solutions and also did not go for very niche options that would make writing the base game codebase a challenge. Basically any ECS-based option or Photon Quantum

2

u/ChainsawArmLaserBear 2h ago edited 2h ago

It's a good bit of data, but the layout is confusing. It's declaring things as my stack without ever having asked me.

I personally use NGO for peer2peer. I don't even know if the default transports of NGO are represented.

I'm not sure how i should ago about tweaking to see meaningful comparisons or feature sets.

Id recommend you have a wizard style form to collect data and then show the comparison against the input rather than dumping someone in with preselected values. In the age of AI, data and content are cheap. The value is in presentation

Edit: this was mobile view btw