Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. 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 Different content in different buckets

Discussion in 'Unity Cloud Content Delivery' started by skalajozef, Jan 4, 2023.

  1. skalajozef

    skalajozef

    Joined:
    May 15, 2018
    Posts:
    1
    Background

    I have a simple Unity project in version 2022.2.1f1, using Addressables package 1.21.2 and CCD Managment package 2.1.0. The scene contains a cube that is rotating diagonally and has red material on it. I have created a new group (PackedAssets) in the Addressables Group that contains only the cube prefab. This group has Build & Load Paths set to Remote. All other settings are default.

    I have a linked (Project Settings-Services) project with Unity Dashboard where I have created two environments: development and production.

    In Addressables Profile I created a CustomProfile where I set Remote to CloudContentDelivery-Automatic-development(Environment)

    Then I select the Build to CCD - Default Build Script option. This action has automatically created a bucket in my development environment called StandaloneWindows64.

    After this I created a new Promotion Only bucket in environment production called StandaloneWindows64. Then I will make a Promote Release of the StandaloneWindows64 bucket environment development to the StandaloneWindows64 bucket in environment production. Up to this point, everything works as it should.

    Then I change the material of the cube (from red to yellow) in the editor, and choose to Build to CCD - Default Build Script in the CustomProfile, which is still set to a development environment, I see yellow cube and that's fine.

    But later I changed the CustomProfile to Delivery-Automatic-production(Environment) and after restarting play mode I still see a yellow material. That change was only intended for the bucket in development environment.

    Question:

    Did I misunderstand how buckets work or is this a bug in the CCD service? How is it possible that I see the same content in both buckets even though their content is not the same
     
  2. llunity3d

    llunity3d

    Unity Technologies

    Joined:
    Aug 23, 2021
    Posts:
    24
    Hi @skalajozef,

    Changing the CustomProfile to Delivery-Automatic-production(Environment) does not change the local value when starting the play mode. So that is why you still see the yellow material. It mostly change the destination bucket for the Build Script. Normally you should still see in your production bucket the red material.

    Hope this helps

    Leo