Search Unity

[0.5.2] Non static content

Discussion in 'Addressables' started by MomochaZ, Dec 20, 2018.

  1. MomochaZ

    MomochaZ

    Joined:
    Jun 20, 2013
    Posts:
    28
    Hi

    Do the asset without static content will be rebuild everytime when I click build player content for now version?
    In 0.4.8 version,I change asset and rebuild.
    The system will only build the data I changed but now all the assets will be rebuilded again.
    It seems does not use cache.

    Does someone have the same issue or I missing some setting?

    Thanks.
     
    Last edited: Dec 20, 2018
  2. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
  3. MomochaZ

    MomochaZ

    Joined:
    Jun 20, 2013
    Posts:
    28
    I try my assets static content and use update.
    But when I click apply change the assets in the window does not disappear.
    And then I click update build but the system still rebuild all the bundle.
    I do not know it is a bug or not?
     
    MNNoxMortem likes this.
  4. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
    @MomochaZ this is what happens for us as well and I assume this is a bug as it is not at all as shown on the Unite L.A.
     
  5. MomochaZ

    MomochaZ

    Joined:
    Jun 20, 2013
    Posts:
    28
    The rule I found
    When clean the build cache.
    The first and second time you click build player content or update the system seems will build all bundle without cache.
    Start from the third time will start to use cache.
    Are you the same situation?
     
  6. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
    @MomochaZ Similar. Content Update does in general only detect changes to groups marked as "Static" in the ContentUpdateSchema (might be intented, but who knows).

    After a clean, the first build obviously has to build all bundles without cache - you have just cleared it. However, I will have to check the behaviour on the second and third build.