Search Unity

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:
    131
    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.