Search Unity

How are Steam updates handled?

Discussion in 'General Discussion' started by nikescar, Aug 15, 2020.

  1. nikescar

    nikescar

    Joined:
    Nov 16, 2011
    Posts:
    165
    How does Steam handle updates coming from Unity builds?

    I've read some old posts on Reddit about how Steam uses diffs (similar to version control). But I've also read posts about people using AssetBundles. Obviously, being able to just rebuild the entire game and upload that with Steam figuring out what new files need to be downloaded would be the most convenient.

    Any ideas? Any Unity devs using Steam that could provide some insight?
     
  2. adehm

    adehm

    Joined:
    May 3, 2017
    Posts:
    369
    Any package that has a later date modified will be applied in the update.
     
  3. nikescar

    nikescar

    Joined:
    Nov 16, 2011
    Posts:
    165
    Just for clarification, by package you mean the folder you upload to steam with the new Windows build in it?

    Will users only download the files in that build that are different than the previously uploaded build?
     
  4. Ferazel

    Ferazel

    Joined:
    Apr 18, 2010
    Posts:
    517
    Upload the entire project/depot to Steam for each update. Steam will automatically create a binary chunked version of that depot and feed users only the changed chunks. Meaning the updates are typically small for code (likely only a chunk or two).
     
    JBR-games likes this.
  5. nikescar

    nikescar

    Joined:
    Nov 16, 2011
    Posts:
    165
    That's awesome! Thanks for the response
     
    JBR-games likes this.
  6. MDADigital

    MDADigital

    Joined:
    Apr 18, 2020
    Posts:
    2,198
    I have noticed that the bigger the game get the larger the required download is even if its just a code change.

    edit: We havent bothered with asset packages etc just yet, which might help Steam make better update chunks.

    This was just a small update yet 4.1 gigs to download

    upload_2020-8-16_10-13-43.png