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. Dismiss Notice

Updating the client game ?

Discussion in 'Editor & General Support' started by Craze74, Dec 22, 2012.

  1. Craze74

    Craze74

    Joined:
    Nov 19, 2012
    Posts:
    83
    Hi everyone !

    I just want to know something about updating a game.

    Let's say I setted up a multiplayer game, with a server.

    I need to find a good way for the player, for updating his game when he is logging in the server, but I don't know how to do it.

    Maybe there is few ways ? For example, the player launch the game, he wants to log in, and then we check his game version, and if the game version is less than the newer version, then we do the update, but how ? is there already solutions for this ?

    Thanks ! :)
     
  2. Armillary

    Armillary

    Joined:
    Dec 16, 2009
    Posts:
    189
    Not entirely sure with Unity. I would suppose that asset streaming could do it. You'd basically have a version checking mechanism that would compare the global version to the version the client is running and if they don' t match the client would be sent the resources and then update itself (you'll need a standard model for updates). Then the client would set it's version to match that of the update sent. For updates that build on each other I'd think you'd want a system that can install in order, possibly by recognizing any intermediate updates and installing them first and rerunning the update check after each update.

    If you would pay for a system let me know, I'll dig into it a bit more and get you something that works.