Search Unity

Saving User Data? Noob Question!

Discussion in 'Multiplayer' started by infinitypbr, Jun 25, 2015.

  1. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    Hey everyone,

    Is it possible to use UNet to save user data like stats etc? Or how would we manage that?

    Thanks!
     
  2. BluetoothBoy

    BluetoothBoy

    Joined:
    Jun 17, 2015
    Posts:
    14
    Save data has to be stored locally, and it would be in your best interest to save data on the host machine (rather than a client's machine). UNET can't do that part - all it can do is transmit said data. UNET would come into play when a player joins or leaves, and for player identification (maybe?), but not for the actual saving.
     
    infinitypbr likes this.
  3. infinitypbr

    infinitypbr

    Joined:
    Nov 28, 2012
    Posts:
    3,149
    So leaderboards etc are still done by other systems?
     
  4. aabramychev

    aabramychev

    Unity Technologies

    Joined:
    Jul 17, 2012
    Posts:
    574