suriyun-production / battle-io-docs

This is document for Battle IO project (https://www.assetstore.unity3d.com/#!/content/101113?aid=1100lGeN)
https://suriyun-production.github.io/battle-io-docs/
1 stars 0 forks source link

Dedicated Server Option Not Workings with PUN2 Edition #15

Closed jonmalave closed 4 years ago

jonmalave commented 4 years ago

Hi @insthync how can we setup a dedicated server with PUN2?

Yes, i'm aware it would just be a Dedicated Master Client... but that's exactly what I'd like to test out if you don't mind updating the documentation here: https://suriyun-production.github.io/battle-io-docs/#/ on how to achieve this?

I notice when I create a game I have the option to create a game that appears to be a dedicated server option, but how do we set this up in Unity Headless Server Mode?

insthync commented 4 years ago

The PUN2 version has no dedicated server option because it uses PUN2, its networking architecture is different from the UNET version. When we use Photon to create room it will create the room at Photon's cloud server with its load balancing system to sync networking messages together to all clients. But when we use UNET we have to run the game-server by ourselves to lets players connect.

jonmalave commented 4 years ago

@insthync OK understandable... but I guess it would be good for you to update the document with this information because it's not reflecting the PUN2 version of Battle.io