Search Unity

Question Bucket Subfolders? How to random select through a large list of content?

Discussion in 'Unity Cloud Content Delivery' started by darashayda, Sep 27, 2021.

  1. darashayda

    darashayda

    Joined:
    Jun 27, 2020
    Posts:
    442
    Tim had mentioned something about folders or sub-folders and I like to learn more about them.

    Example: We have an Anime character as you saw in our demos.

    We like to re-dress her, change the weapons and even the mocap animations. Either the player requests new content or the game controller ransom select.

    We know how to do that in previous Unity settings, we need to learn and understand how to do that in CCN Bucket scheme.

    Simple snippet of lines of code or some sample project would do.

    We do not want awefully complicated schemes, the simplest for the starter.

    Dara
     
  2. llunity3d

    llunity3d

    Unity Technologies

    Joined:
    Aug 23, 2021
    Posts:
    24
    Hi Dara,
    Thanks for your interest in CCD!
    Unfortunately we are unable to provide you with a definitive solution since it is not specific to CCD. It is more a of an open suggestion. You could use a subfolder, then in your code randomly select a file:
    models/model1.model
    models/model2.model
    models/model3.model
    I hope this helps, thanks you again for you feedback!
     
  3. darashayda

    darashayda

    Joined:
    Jun 27, 2020
    Posts:
    442
    This is not my suggestion this was Tim at CCD team suggestion:

    https://forum.unity.com/threads/ver...-to-organize-in-buckets.1173194/#post-7514684

    models/model1.model
    models/model2.model
    models/model3.model

    This has some issues:

    1. We use third party non-Unity software to generate huge assets e.g. medical assets

    2. We do store them as you had mentioned in some directory form, but they are on our linux servers not inside Unity Project. These assets are in many TB sizes and impractical for Unity Editor.

    3. There is an external upload option for CCD,we used it and it works, but we are not sure ;

    A. How to make directories, since it dumps files into /

    B. Is that copying into the external backend the right way for these directories.

    If we understand how to do A-B , we can then variate the huge assets without your assistance .

    Regards

    Dara
     
  4. llunity3d

    llunity3d

    Unity Technologies

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

    For A. there is two options for grouping files.

    1. When creating an entry you can specify a path, lets say
    /modes/ 
    , that would allow you to dump files in different directories in your bucket, allowing you to group things like you want.

    2. You could also use labels when creating an entry and get entries by those label, that would also allow you to group files like you want.

    For B. no need to worry about the backend, that is handle by our side!

    Thanks again for using CCD,

    Regards