1
TNet 3 Support / Make a dedicated authoritative unity Server?
« on: August 16, 2017, 07:34:45 PM »
Hey,
i plan to make Transport tycoon and i can't let the player be host and send all vehicles to the gameserver and the gameserver relays it to other players.
I need to make a authoritative unity server, where the unity instance is the server and hoster.
So if I want to create a vehicle, the server is creating it and send every data to other players.
I made an quick test with 5000 Objects that are created on my pc and I had an outbound at 1Mbit to the gameserver(From the zip)(hosted on my datacenter with 1Gbs Up and Down).
So I would be Hard limited, if other players who host a game on their pc with a lower bandwidth.
So I decided to make an authoritative gameserver with unity logic.
And here is the question, how can I make in unity, that the gameserver is also the Hoster?
i plan to make Transport tycoon and i can't let the player be host and send all vehicles to the gameserver and the gameserver relays it to other players.
I need to make a authoritative unity server, where the unity instance is the server and hoster.
So if I want to create a vehicle, the server is creating it and send every data to other players.
I made an quick test with 5000 Objects that are created on my pc and I had an outbound at 1Mbit to the gameserver(From the zip)(hosted on my datacenter with 1Gbs Up and Down).
So I would be Hard limited, if other players who host a game on their pc with a lower bandwidth.
So I decided to make an authoritative gameserver with unity logic.
And here is the question, how can I make in unity, that the gameserver is also the Hoster?