Search Unity

How will you update your game?

Discussion in 'General Discussion' started by IndieDude360, Dec 21, 2010.

Thread Status:
Not open for further replies.
  1. IndieDude360

    IndieDude360

    Joined:
    Oct 29, 2010
    Posts:
    105
    Hi, i'm just curious about unity and how you can do things, so i'm wondering how you update your games, maybe you could decide you update your game a few months later and fix a few glitches or add new things.

    Would you have to

    Create a program yourself, maybe with visual basic and that updates your games whenever someone starts it?

    Does unity have a special program that does it for you? (I've heard of something that you can buy that enables unity to update your game.

    Oh and another thing is i think there is something called "Dynamic Downloading" and i'm just wondering if that would be possible with unity.

    (Example) You run the game while it's updating and the update could be changing some scripts of code or adding new ones.

    Thanks for reading. (Have a nice christmas) :razz:
     
  2. xAdix

    xAdix

    Guest

    Joined:
    Jul 18, 2010
    Posts:
    89
    unity udates your game as soon as possible if you have changed an prefab or textuer ect..
     
  3. IndieDude360

    IndieDude360

    Joined:
    Oct 29, 2010
    Posts:
    105
    Okay, thanks, but how does it connect to the game you've created, do you have to set something?
     
  4. appels

    appels

    Joined:
    Jun 25, 2010
    Posts:
    2,685
    thats only in the editor, there is no update system built in Unity for builds.
    the easy way would be to have the clients download the whole app again and install it.
     
  5. IndieDude360

    IndieDude360

    Joined:
    Oct 29, 2010
    Posts:
    105
    Can't you insert a patching thing into a client you've made that modifies the game and adds whatever needs updating, people wouldn't like to download a game that's 2Gb over and over again, unless the game can be played and updated at the same time.
     
  6. Vert

    Vert

    Joined:
    Mar 23, 2010
    Posts:
    1,090
    Unity currently forces you to do the right thing and make sure you get as many bugs and glitches out of your game before releasing it. Far too many developers(AAA ones too) these days are relying on patches and release games before they are finished. So, unfortunately, no there is no update feature and you would have to write your own solution to patch/update your games code. But this is probably for the better, as it wont let you get lazy. Remember to always ensure you have enough time for debugging and fixing before release. A good developer will expect bugs to be found after release which they will have to patch, but a great developer will do enough debugging that they will be confident that no one will find bugs in their game. ;)

    I would like to have a way to update games as add-on content is becoming the norm and would be nice to add weapons and levels to a finished game(Halo's map packs anyone?). I am sure its a feature that will be added, it will just take some time.
     
    benjaminpizzolatto likes this.
  7. oxl

    oxl

    Joined:
    Nov 21, 2008
    Posts:
    325
    Last edited: Dec 21, 2010
  8. Vert

    Vert

    Joined:
    Mar 23, 2010
    Posts:
    1,090
    Currently this patcher only allows for users to connect to your server to see if there is a new version of the entire game. It is in the works to do a per file patcher. The patcher listed above currently does not update individual files.
     
  9. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,603
    Per file patcher is useless, cause it ends on the very same as whole application patching unless you use asset bundles.

    Every file that is generated by build standalone will change completely enough on a rebuild to make even Binary Patchers fail doing any patching, forcing them to copy the original files!
     
  10. AnomalusUndrdog

    AnomalusUndrdog

    Joined:
    Jul 3, 2009
    Posts:
    1,490
    I did something like this when I was using Torque in my old line of work. Basically I made a separate program coded in wxPython to check the checksums of each file in the game, download the latest checksum list, compare them, then make the program download the files that are either missing on the client, or has a different checksum value than the downloaded one.

    It acts as a launcher that players run instead of the actual game exe file instead. It shows buttons to update the game, edit options, and finally a button to run the game, which merely runs the game exe file.

    Since I do per-file downloading, care must be taken on how to package the game data. If you package all game data in one file, then it has to download that whole file all over again even if only part of the data was changed. Its best to package the game data to several small files, grouped logically, like all music go in one package, gui goes in another, etc.

    Unfortunately, Unity does not offer you control on how to package your game data.

    The ideal solution would be downloading the binary data delta and use a program like xdelta to apply a binary patch, but you'd need to account for all situations like a delta between version 1 to 10, 2 to 10, 3 to 10, and so on, so that no matter what old version your client is in, he can download only the necessary parts to become updated to the latest version.
     
    UTSA_CIAS likes this.
  11. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,603
    The binary delta of a unity game build is the unity game build (independent on if you use xdelta or Indigorose Visual Patch), so you can just put up all files and let the patcher download all of them on a per file version base individually
     
  12. Bip901

    Bip901

    Joined:
    May 18, 2017
    Posts:
    49
    BrandyStarbrite likes this.
  13. pk_Holzbaum

    pk_Holzbaum

    Joined:
    Jul 26, 2012
    Posts:
    84
    Holy necro! This thread is almost 8 years old, how did you even get here?
     
  14. AndersMalmgren

    AndersMalmgren

    Joined:
    Aug 31, 2014
    Posts:
    4,677
    All store fronts have their own system for this, no need to reinvent the wheel.

    Just make sure to update unity to every new version so you don't fall behind
     
  15. AlanMattano

    AlanMattano

    Joined:
    Aug 22, 2013
    Posts:
    1,042
    What you are looking for is a launcher or patcher
    In Windows Yes, did you look to the asset store?
    I have done a list of assets for Updating Your Game

    In windows is possible. Making experiment turns out is difficult for the player to configure it or difficult to create the installer. But still possible. Also, there are pay Windows installers that let you update your game.
     
  16. Bip901

    Bip901

    Joined:
    May 18, 2017
    Posts:
    49
    The same way you did :)
     
  17. BrandyStarbrite

    BrandyStarbrite

    Joined:
    Aug 4, 2013
    Posts:
    1,151
  18. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,438
    By scrolling through the latest posts in General Discussion? You must have been scrolling for a long, long time. :p
     
  19. Joel_creeper

    Joel_creeper

    Joined:
    Apr 21, 2018
    Posts:
    1
    2019 anyone?
     
    La_Psicopata likes this.
  20. zombiegorilla

    zombiegorilla

    Moderator

    Joined:
    May 8, 2012
    Posts:
    7,773
    Ancient thread and old blog post response. Closed.
     
    Ryiah likes this.
Thread Status:
Not open for further replies.