Search Unity

Unity server

Discussion in 'Scripting' started by Nyreo, Aug 26, 2016.

  1. Nyreo

    Nyreo

    Joined:
    Jun 20, 2016
    Posts:
    2
    Hey, I am looking for a way to be able to store data on a main server so I can access this data from multiple clients. The data being stored would be just simple data such as the name of the user and the score they got on a game. I want to store the data on a server as I want to be able to compare the users results to the results of other users etc.

    I am just wondering how I would be able to do this, if anyone has any ideas or could help in anyway just post below thanks.
     
  2. MV10

    MV10

    Joined:
    Nov 6, 2015
    Posts:
    1,889
  3. Timelog

    Timelog

    Joined:
    Nov 22, 2014
    Posts:
    528
    Well you can use UnityWebRequest to communite with servers, and then use JsonUtility to send data from and to the server. Then you can buy or hire a web server, and create a webapi project that handles the server side stuff.
     
  4. passerbycmc

    passerbycmc

    Joined:
    Feb 12, 2015
    Posts:
    1,741
    What platform are you using since of its IOS or android this handled by gamecenter or google play games
     
  5. Nyreo

    Nyreo

    Joined:
    Jun 20, 2016
    Posts:
    2
    I am mainly doing this for pc but I could look at other platforms if need be.

    I have taken a look at gamesparks and it looks like it could work well,
     
  6. Olander

    Olander

    Joined:
    Sep 13, 2014
    Posts:
    405