Hello everyone, I would like to know where to start learning Unity Multiplayer? I’ve heard of UNET but there aren’t that many tutorials that go really in depth on the system. and there is also a 20 Concurrent user cap on the free version.
So I’m wondering if I wanted to make multiplayer games like a small browser game (nothing to complicated)
1: What system should I use UNET, Photon peer to peer?
2: Where do I start learning that system?
3: Is it free and what systems don’t have a cap on CCU?
How do I set up matchmaking without Unity’s service?
Also do you know any tutorials or have any advice on having the player’s set up servers like in dayz or rust?
The simplest answer is probably some php scripts and a mysql db. You can use the WWWForm class to query the php scripts. You can also use steam’s api if you have access to it. There’s really no one set way, you just need some way to store and retrieve a list of the hosts.
UNet has its issues but I still recommend it. It’s being very actively developed and it is obviously tightly integrated into Unity.
I believe only users using the relay servers count against this. You can connect as many clients as you want forever and ever all day if they connect directly. Of course you’re going to run into the issue that clients often can’t connect directly without the relays because they are behind a router, at which point you may want to look into the plugin linked in my signature (see how I smoothly worked that in).