Search Unity

Feature Request Global objects

Discussion in 'Cloud Save' started by DavidZobrist, Sep 18, 2022.

  1. DavidZobrist

    DavidZobrist

    Joined:
    Sep 3, 2017
    Posts:
    234
    I have seen posts related to this topic in the cloud code forum area too.

    So currently all data sets are only accessible from the owning player.
    We cant have something like leaderboard or other network objects that can be read/ wrote by multiple players.

    Is this something you guys plan on covering with the ugs?
    Or would you suggest us to use something like azure etc.?


    Cheers,
    Dave
     
  2. Unity_AndyP

    Unity_AndyP

    Unity Technologies

    Joined:
    Jun 23, 2021
    Posts:
    63
    Hi David,

    You can use the service level tokens in cloud code to access other players' data in cloud save. The only thing you need to be able to do this is the other player's ID. Currently, the only way we have to do this is by adding Lobby to the application. An example of how to do this can be found here. The team is working hard at exposing the player's ID in other ways so you can access it with ease and I will let you know as soon as I have more information about it.

    Leaderboards is another product that we have been working on and will also be releasing more information out soon.
     
    DavidZobrist likes this.