docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ContentCatalogProvider

    Abstract base provider for content catalogs. This provider makes use of a hash file to determine if a newer version of the catalog needs to be downloaded. Subclasses supply format-specific hooks for JSON and Binary catalogs.

    Inheritance
    object
    ResourceProviderBase
    ContentCatalogProvider
    BinaryCatalogProvider
    JsonCatalogProvider
    Implements
    IResourceProvider
    IInitializableObject
    Inherited Members
    ResourceProviderBase.m_ProviderId
    ResourceProviderBase.m_BehaviourFlags
    ResourceProviderBase.Initialize(string, string)
    ResourceProviderBase.CanProvide(Type, IResourceLocation)
    ResourceProviderBase.ToString()
    ResourceProviderBase.GetDefaultType(IResourceLocation)
    ResourceProviderBase.CreateCacheKeyForLocation(ResourceManager, IResourceLocation, Type)
    ResourceProviderBase.InitializeAsync(ResourceManager, string, string)
    ResourceProviderBase.ProviderId
    ResourceProviderBase.SceneDependencyResourceType
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.AddressableAssets.ResourceProviders
    Assembly: Unity.Addressables.dll
    Syntax
    public abstract class ContentCatalogProvider : ResourceProviderBase, IResourceProvider, IInitializableObject

    Constructors

    Name Description
    ContentCatalogProvider(ResourceManager)

    Constructor for this provider.

    Fields

    Name Description
    DisableCatalogUpdateOnStart

    Use to indicate if the updating the catalog on startup should be disabled.

    IsLocalCatalogInBundle

    Use to indicate if the local catalog is in a bundle.

    Properties

    Name Description
    CatalogExtension

    The file extension for catalogs loaded by this provider (e.g. ".json" or ".bin").

    Methods

    Name Description
    CreateInnerCatalogLocation(string, ProviderLoadRequestOptions)

    Builds the inner IResourceLocation used to load the catalog bytes. Implementations also register any required inner provider with the ResourceManager.

    ParseBundledCatalog(TextAsset)

    Parses a TextAsset loaded from a local catalog bundle into a ContentCatalogData instance.

    Provide(ProvideHandle)
    Release(IResourceLocation, object)
    In This Article
    Back to top
    Copyright © 2026 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)