Creating own server

Hi!
I have Unity Personal Edition and I want to create a simple multiplayer game. I want to use uNet for networking, but I can’t make this public because I have Unity Personal (making it Live requires Pro or Plus). I’m a student so I don’t have money to pay the subscription for a project that wouldn’t make me any profit. Any ideas what can I do? Is there something other to create a multiplayer game in Unity (It is going to be a WebGL game)?

You could publish it without using Unitys relay or Matchmaking servers?

You’re not forced to use Unity’s relay and matchmaking services. Just design your game so it doesn’t use them.

But how can I create a dedicated server that can be used by Unity’s Multiplayer (uNet)? I don’t want games hosted by players.

if you use Unet the games are already hosted by players, the only thing unity is doing is sending and receiving the data.

NetworkManager.singleton.StartServer();
This will start a dedicated server without Multiplayer Services

Ok, for a better understanding:
Is there a way to create a multiplayer game using uNet which has a server on another machine? (The players just click Play and they are being connected to my VPS, the game is not hosted on players machines)

Yes, Just enter the IP and Port to the server.

Ok, and to achieve this I have to write my own server in C# or Unity provides a server application or can I build with Unity a server?

Just do NetworkManager.singleton.StartServer(); to start server. Then on client do NetworkManager.singleton.networkAddress = ip; NetworkManager.singleton.networkPort = port. Then to actually connect do NetworkManager.singleton.StartClient();

1 Like