Search Unity

[Bug] Content Delivery Bucket not showing in UCB

Discussion in 'Unity Build Automation' started by Brogan89, Jul 28, 2021.

  1. Brogan89

    Brogan89

    Joined:
    Jul 10, 2014
    Posts:
    244
    Sorry for the double post but this bug is relating to both UCB as well as UCD.

    Original post: https://forum.unity.com/threads/content-delivery-bucket-not-showing-in-ucb.1147760/

    reported bug: https://support.unity.com/hc/en-us/requests/1080771

     
    Last edited: Jul 28, 2021
  2. timtunity3d

    timtunity3d

    Unity Technologies

    Joined:
    Oct 1, 2015
    Posts:
    131
    I'm sorry you're hitting that bug, we'll definitely work on getting it fixed. You are correct that the field only lets you select from the first page of buckets. It's not trivial, but you could update this with the cloud build API:

    You can get your CloudBuild API key from the Settings page under Cloud Build in the Dashboard.

    With that key you should be able to make a call to get the build target you want to modify:

    https://build-api.cloud.unity3d.com...--projectid--buildtargets--buildtargetid--get

    Take the JSON returned and modify the value under settings.ccdBucketID to the bucket you want to upload to. Then PUT that JSON back to the same endpoint:

    https://build-api.cloud.unity3d.com...--projectid--buildtargets--buildtargetid--put

    Let me know if you need help with any of those steps.
     
    Brogan89 likes this.
  3. Brogan89

    Brogan89

    Joined:
    Jul 10, 2014
    Posts:
    244
    Perfect! Thank you. Worked perfectly.
     
  4. rajivrao

    rajivrao

    Unity Technologies

    Joined:
    Feb 19, 2019
    Posts:
    111
    @Brogan89 Thanks for reporting the bug! I've filed a ticket with our team and we're looking Into fixing it. Glad you were able to find a short term fix in the meantime.
     
    Brogan89 likes this.