Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

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