Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Question Set Badge name from Cloud Build?

Discussion in 'Unity Cloud Content Delivery' started by bz_apps, Jan 26, 2022.

  1. bz_apps

    bz_apps

    Joined:
    Aug 19, 2014
    Posts:
    72
    Currently we are trying to use the build number from the cloud build as our CDN badge.

    I have tried saving the build number from the CloudBuild pre-export method into a scriptable object. The Addressable path then references this value via the scriptable object.

    The problem is it is not reading the updated value.

    Have anyone done this sort of thing?

    Ive attached an image of our path set in the profile.

    Are the addressable created before the cloud build script has time to execute?
     

    Attached Files:

  2. Max575757

    Max575757

    Unity Technologies

    Joined:
    Jul 11, 2019
    Posts:
    5
    Hi,

    Gonna check with the team and come back to you ASAP.

    Thanks,
    Max
     
  3. timtunity3d

    timtunity3d

    Unity Technologies

    Joined:
    Oct 1, 2015
    Posts:
    134
    Hi,

    By using curly brackets for your variable it should be evaluated at runtime. That looks correct. If you look at your asset catalog json file in the Services Dashboard you should see that printed out for each asset URL. What response are you getting when it tries to download the files? Have you verified your release number badge is being added properly?
     
  4. bz_apps

    bz_apps

    Joined:
    Aug 19, 2014
    Posts:
    72
    AH I think its that we are having an issue setting our variable.