Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Failure to automate building Addressable Assets in Unity Cloud Build

Discussion in 'Unity Build Automation' started by keren_unity, Aug 31, 2022.

  1. keren_unity

    keren_unity

    Joined:
    May 23, 2022
    Posts:
    5
    Hello!

    My team & I are struggling to automate building the Addressable Assets as part of a Cloud Build. We're currently getting this set of errors in the Cloud Build log:

    Code (JavaScript):
    1. 98: [2022-08-31T17:03:18Z - Unity] ERROR: Unable to create bucket from build step. Please either use the "Build and Release" integration or Create the active build target bucket and refresh CCD data sources.
    2. 99: [2022-08-31T17:03:18Z - Unity] ERROR: Failed to build Addressable Assets
    3. 100: [2022-08-31T17:03:18Z - Unity] Error Building Addressables: ERROR: Failed to build Addressable Assets
    4. 101: [2022-08-31T17:03:18Z - Unity] ERROR: Addressables export failed. Build will continue but results may not be usable.
    5. 102: [2022-08-31T17:03:18Z - Unity] ERROR: Unable to create bucket from build step. Please either use the "Build and Release" integration or Create the active build target bucket and refresh CCD data sources.
    6. 103: [2022-08-31T17:03:18Z - Unity] ERROR: Failed to build Addressables content, content not included in Player Build. "Unable to create bucket from build step. Please either use the "Build and Release" integration or Create the active build target bucket and refresh CCD data sources."
    I've confirmed that the API key that I'm using in the Configuration matches the API key listed in Cloud Content Delivery. Uploading the Addressables is working successfully from the Unity editor itself, but the problem we're facing is having it do the same automatically when a Cloud Build gets generated.

    I've attached an image of the settings we currently have in the Configuration for the Addressables (and covered the API key for security purposes). Please let me know what we might be able to do to troubleshoot these errors so that we can successfully build the Addressables when creating a Cloud Build. Thanks!
     

    Attached Files:

  2. keren_unity

    keren_unity

    Joined:
    May 23, 2022
    Posts:
    5
    This question has since been resolved.
     
  3. DevinLFL

    DevinLFL

    Joined:
    Nov 5, 2021
    Posts:
    10
    The solution we found was to roll back to adressables 1.19.19 for our version of unity which is 2021.3.5f1. We are using CCD management 2.1.0