Search Unity

Any Tips When Converting to Addressables?

Discussion in 'Addressables' started by Greyborn, Sep 10, 2019.

  1. Greyborn

    Greyborn

    Joined:
    May 26, 2016
    Posts:
    33
    Hello everyone! We are about to convert our game to use Addressables with the primary goal of making our update patches as small as possible (it’s become a needed requirement for our console ports). All our content will be local on the installed device.

    Our current plan is to turn as much of our game’s content and scenes into Addressables as possible so that only really code and one “boot” scene is left in build settings.

    The main types of things we plan to turn into Addressables include:
    · Unity scenes and lightmaps
    · Key gameplay balance data files
    · Content prefabs and their assets (environment props, characters, projectile vxf, and related)
    · Music tracks
    · Shaders
    · UI prefabs and scenes

    Again, the primary goal is to reduce any future patch sizes to be as small as possible and all the Addressables will be stored locally with the game. Also, we’ll be staying on 2018 LTS for this project.

    Any tips/gotchas we should be aware of that anyone would like to share before we dive into this work? Thanks!
     
    BTStone likes this.
  2. Favo-Yang

    Favo-Yang

    Joined:
    Apr 4, 2011
    Posts:
    268
    2 cents,
    • The importer can help you import existing assets quickly.
    • The preload approach, can help you avoid migrating existing codebase to a fully async style. No example code yet, but I stretch out the basic idea in the thread.
    • The content update workflow, is designed for your case, so you may want to read it carefully. The docs may seem complex, but what it does is quite straightforward. It compares assets with last release state and generate the patch bundle for you.
    Those are general advices. However I'm not working on a console game, but a few folks do in the community, so...
     
  3. Greyborn

    Greyborn

    Joined:
    May 26, 2016
    Posts:
    33
    Thanks Favo-Yang, we'll check that stuff out!