Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Third Party [Photon BOLT] Authoritative object management

Discussion in 'Multiplayer' started by tinoow, Feb 8, 2022.

  1. tinoow

    tinoow

    Joined:
    Nov 30, 2019
    Posts:
    4
    Hi !

    I'm trying to find a multiplayer solution that would allow me to :
    1. divide the space and gameplay into a room-system
    2. in each room players can manipulate (move, rotate, scale) objects
    3. to join a room a player must have the relevant permissions to do so
    4. to manipulate an object a player must have the relevant permissions to do so

    The permissions would be stored in a remote DB (I plan to use Playfab services).

    Photon BOLT seems to provide enough functionalities to develop 1 and 2, and for 3 I see that the host can refuse room access to whoever he wants (https://stackoverflow.com/questions/63325549/photon-bolt-make-room-private-after-creation).

    My question : would the 4 be possible using BOLT ? Since the doc uses the term "Authoritative Movement" I wonder if BOLT provides authoritative functionalities only to some specific features and not to every requests.

    Thanks in advance :)
     
  2. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,086
    Yes, you could implement all of that in Bolt but there is no built-in rights management and no roles or similar. This would need to be added to it.
    The Bolt Server (a Unity instance) is authoritative about everything, so it can control if any client can manipulate an object or not.

    We would suggest to take a look at Fusion, our upcoming networking solution, which might make your life even easier.
     
    tinoow likes this.