Search Unity

Please put the catalog in a platform specific folder

Discussion in 'Addressables' started by MNNoxMortem, Jan 17, 2019.

  1. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
    Currently the latest build overwrites the catalog.
    • StandaloneWindows64, Build, Check In, CI/CD can enter playmode as it has the required bundles
    • Switch to WebGL, Build, catalog is overwritten, check in (bundles ARE in a platform specific folder but the catalog files are NOT!), commit, push -> CI/CD fails as the last catalog points to the webgl bundles but the player is run on windows - although the bundles do exist in their platform specific folder.
     
  2. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    Good idea! added to the list.
     
    chanon81 and MNNoxMortem like this.
  3. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
    @unity_bill This is also very important for the addressables_content_state.bin (unless there is a major error in my thinking or workflow) because

    • StandaloneWindows64, Build Bundles, addressables_content_state.bin is generated
    • Asset Change
    • Prepare for Update, Build Updates, addressables_content_state.bin is updated.
    • Platform Switch to WebGL, Prepare for Update does not detect any changes - in fact they do not have changed since the last update - however one would actually require to build an update for every platform.
    As the content state is tightly coupled to the actual bundles they should reside together, s.t. we can build, update and check them in into VCS for any commit to also reproduce the state on every platform.
     
    chanon81 likes this.
  4. unity_bill

    unity_bill

    Joined:
    Apr 11, 2017
    Posts:
    1,053
    noted, thanks.
     
    MNNoxMortem likes this.