Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Bug Badges unexpectedly stop working correctly

Discussion in 'Unity Cloud Content Delivery' started by TechCor2, Oct 21, 2022.

  1. TechCor2

    TechCor2

    Joined:
    Oct 21, 2022
    Posts:
    2
    Context
    I've been using CCD successfully for a few months for a project currently in development.
    The bucket hadn't been updated in 17 days until today.

    The project uses this URL structure:
    https://[ProjectID].client-api.unity3dusercontent.com/client_api/v1/environments/[Environment]/buckets/[BucketID]/release_by_badge/[Badge]/entry_by_path/content/?path=[FileUrl]


    Problem
    The badge for the link is not always pointing to the correct release.

    In particular, the "latest" badge stopped working altogether. It was giving files for a release several hours back for me, and the last release from 17 days ago for someone else. The release for the badges are correct in the dashboard.

    My workaround was to create new badges. This sort of works, but not very long. When I create the badge, it will start working in a minute or two. However, after 5-30 minutes, it redirects to an older release. It looks like it might be the first release the badge was used on, even if it was hours ago. Creating a new release and moving the badge does not work. I have to delete the badge, wait a minute or so, and recreate it. That starts the clock anew until it reverts back.
     
    ethan_unity838 likes this.
  2. SebT_Unity

    SebT_Unity

    Unity Technologies

    Joined:
    Jun 21, 2021
    Posts:
    283
    Hi there,
    Thanks for posting on the forums.
    The latest badge should be working and sending your users to the latest release. When you update your package are you updating a previous build? If this is the case make sure not to use "Build & Release" This will break your package link once you upload.
    upload_2022-10-21_10-50-23.png

    Could you share your CCD management versions and addressables versions?
    Could you also share how you are making the calls and observing the failures response/request process

    Additionally if you can DM your organization we can dig a little more into the logs.

    Look forward to your response.
    Seb
     
  3. TechCor2

    TechCor2

    Joined:
    Oct 21, 2022
    Posts:
    2
    It's actually not a problem in the project. I tried to download the JSON file from the link using a web browser, and the contents are from an older release.

    I just confirmed that it still points to the wrong release 12 hours later, and deleting and recreating the badge fixed it for 5-30 minutes.

    It looks like a notice just went up about this on the dashboard.
     
    SebT_Unity likes this.
  4. SebT_Unity

    SebT_Unity

    Unity Technologies

    Joined:
    Jun 21, 2021
    Posts:
    283
    Hi again!
    Yes thanks for reporting this!
    We have changed the status message and are currently working on a solution to this incident.
    I will post back here once the status.io message is removed and you can try again on your end!

    Thanks again.
     
    TechCor2 likes this.
  5. ethan_unity838

    ethan_unity838

    Joined:
    Oct 25, 2022
    Posts:
    2
    When will this issue be fixed? Even I changed badges Unity CCD Cache doesn't apply for several days :(
     
  6. SebT_Unity

    SebT_Unity

    Unity Technologies

    Joined:
    Jun 21, 2021
    Posts:
    283
    Hi Ethan,
    Thanks for checking in. We are looking on releasing a fix today.
    You could monitor the status on the following website: https://status.cloud.unity3d.com/

    Best,
    Seb
     
  7. ethan_unity838

    ethan_unity838

    Joined:
    Oct 25, 2022
    Posts:
    2
    Still not fixed. :(
     
  8. JackAt360XR

    JackAt360XR

    Joined:
    Apr 16, 2021
    Posts:
    30
    Same thing here.

    And I just got yelled at by my customer for missing a release date.

    But I cant go into production like this.

    Heck I cant even effectively test.
     
  9. SebT_Unity

    SebT_Unity

    Unity Technologies

    Joined:
    Jun 21, 2021
    Posts:
    283
    Hi @ethan_unity838 and @JackAt360XR
    We are actively working on/testing a fix as we speak and treating this complex issue with high priority.
    We sympathize and want to make sure that we get this right.

    I will be sure to post back here when I have more information.
     
  10. SebT_Unity

    SebT_Unity

    Unity Technologies

    Joined:
    Jun 21, 2021
    Posts:
    283
    Hi @ethan_unity838 and @JackAt360XR
    The fix is released and status changed to green.
    If you continue having any issues please let us know.

    Thank you for your patience.

    Wishing you all the best,
    Seb
     
  11. aselecky

    aselecky

    Joined:
    Jul 12, 2017
    Posts:
    6
    Hi Seb, the issue doesn't seem to be fixed (at least in our project). When trying to access release by badge, CCD returns wrong release ID (two days old). Tested with new release and fresh Android build.
     
    Last edited: Oct 27, 2022
  12. SebT_Unity

    SebT_Unity

    Unity Technologies

    Joined:
    Jun 21, 2021
    Posts:
    283
    Hi @aselecky
    Thanks for posting.
    Sorry to hear you are still having problems.

    Could you try the following:
    Can you move your badge to another release and then move it back to the one you want it assigned to?
    This should trigger an update and should solve the issue.

    Please let us know if it helps.
    If it doesn't please DM me your ORGID and bucket name and we can continue digging into this.
     
    aselecky likes this.
  13. aselecky

    aselecky

    Joined:
    Jul 12, 2017
    Posts:
    6
    Thank you for the tip, worked like a charm.
     
    SebT_Unity likes this.