Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Implement checkout a .bin asset before building addressable bundles.

Discussion in 'Addressables' started by calc1fer, Jan 9, 2020.

  1. calc1fer

    calc1fer

    Joined:
    Oct 5, 2019
    Posts:
    62
    Do you need more description?
    Everything is in the title.

    The several version control tools work with marking read-only to avoid conflict and managing safely.
    And, addressable try to write AddressableAssetsData/[BuildTarget]/addressables_content_state.bin when the end of building addressable. If you keep marking that asset before generating an addressable bundle, the building will fail with a simple error about IO. Wow, Incredible. the long-long time that you waited to complete is gone to nothing.

    Just implement VersionControl.Provider.Checkout to every asset, that will be edited, before beginning to build addressable. Thanks.