Search Unity

Third Party Version Check Photon 2

Discussion in 'Multiplayer' started by Noxirus, Jun 16, 2020.

  1. Noxirus

    Noxirus

    Joined:
    Sep 18, 2019
    Posts:
    40
    Hello,

    I have been working on a Photon 2 multiplayer game and just had a quick question about version control.

    Is there a way I can check if all clients are on the same version of the game?
    Is there also a way I can ensure people can only play if they have the most up to date version of the game?

    Thanks so much for your time.

    Have a great day.
     
  2. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,066
    There is no built-in way to reject players by app version. It can be done with custom authentication but that requires a separate server or service (when you got accounts, etc., you can probably also use it to do the version check).

    Aside from the version check, players will be separated by the Game Version. Only players with the same version will be able to play against one another, so updates never crash older clients.
     
  3. Noxirus

    Noxirus

    Joined:
    Sep 18, 2019
    Posts:
    40
    Thanks very much for your feedback Tobiass!