docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ContentCatalogData

    Container for ContentCatalogEntries.

    Inheritance
    object
    ContentCatalogData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.AddressableAssets.ResourceLocators
    Assembly: Unity.Addressables.dll
    Syntax
    [Serializable]
    public class ContentCatalogData

    Constructors

    Name Description
    ContentCatalogData()

    Create a new ContentCatalogData object without any data.

    ContentCatalogData(IList<ContentCatalogDataEntry>, string)

    Creates a new ContentCatalogData object with the specified locator id.

    ContentCatalogData(string)

    Creates a new ContentCatalogData object with the specified locator id.

    Fields

    Name Description
    LocalHash

    Stores the local catalog hash

    Properties

    Name Description
    BuildResultHash

    Stores the hash for the build result

    InstanceProviderData

    Data for the Addressables.ResourceManager.InstanceProvider initialization;

    ProviderId

    Stores the id of the data provider.

    ResourceProviderData

    The list of resource provider data. Each entry will add an IResourceProvider to the Addressables.ResourceManager.ResourceProviders list.

    SceneProviderData

    Data for the Addressables.ResourceManager.InstanceProvider initialization;

    Methods

    Name Description
    CreateOptimizedCopy(ContentCatalogData)

    Creates an optimized copy of the catalog data. This shortens all dependency keys in order to reduce the amount of key strings that get serialized. Assetbundles generally have a long path that is used as the id and this will replace them with an integer value.

    ExtractBinaryCatalog(string, string)

    Converts a binary catalog to a readable text version. The text version cannot be loaded via the runtime and is intended for debugging purposes only.

    SerializeToByteArray()

    Construct catalog data with entries.

    SetData(IList<ContentCatalogDataEntry>)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)