Unity multiplayer, using dedicated servers
Hello! I'm trying to figure out the best way i can achieve multiplayer functionality in my games. The two most popular ways seem to be Photon and Unet. But from what i understand they are both cloud based. I also seen someone do multiplayer with socket.io and node js. I wanted to ask you guys, what you think the best solution would be for me to look in to. Thanks!
Posted Sep 23, 2017, 1:53 PM UTC
I disliked working with Unet as a whole. This semseter we decided to work with socket.io instead of unet that we used this spring. You might be able to host a unet server, but it's not easy or might not even be possible with your game. It works for simple games or prototypes, but I would suggest going for socket.io if you can. I haven't worked alot with Photon. I think it's a better alternative than Unet, but I don't know much about it. Working with socket.io requires a little more work, since you wouldn't get premade components.