Search Unity

Unity Master Server question

Discussion in 'Multiplayer' started by Revan1926, Nov 17, 2015.

  1. Revan1926

    Revan1926

    Joined:
    Mar 7, 2015
    Posts:
    7
    Hello everyone,
    I'm developing an android multi-player game (authoritative server) using unity networking. It works fine when i tested it but the only problem i'm facing it's the increased lag when players aren't on the same network (wi-fi). Because the game heavily relies on physics, i decided to make it playable only by people connected on same wi-fi.
    So my question is :
    Is there any way to modify my code so the people who refresh the game list on master server will only find games that are created from the same wi-fi network instead of every game?

    And if that isn't possible, is there any alternative to achieve this? I'm using Unity 4.6 free version. Thanks in advance.
     
  2. Revan1926

    Revan1926

    Joined:
    Mar 7, 2015
    Posts:
    7
    Anyone Pro with Unity master server that can answer this please? Maybe something can be added to "MasterServer.RequestHostList" to check if both IPs belong to the same network? An IP with subnet mask comparison maybe?
    I don't have much experience with Unity's master server.