Answer the question
In order to leave comments, you need to log in
What direction should we go in order to create multiplayer in Unity?
Hello. I'm learning Unity not so long ago, the main goal is to create a multiplayer game.
Initially, I thought that Unity's MLAPI solution was the best tool for creating multiplayer games, however, on the forum I came across this post:
The whole point of the Unity Multiplayer Service is to connect players in the absence of a dedicated server. If you are building a dedicated server game there is no reason to pay for this service.
Answer the question
In order to leave comments, you need to log in
Sockets in C# work great, you can write a server as a console application (or on the same unit with graphics cut off). Under the web - WebSockets)
And there is also a good one that also supports unity - Lidgren network - a kind of reliable UDP.
As for abstractions over data transfer, you will have to write your own package manager (and invent your own protocol, for example, using binary serialization), versioning all this, etc. or look towards Photon
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question