docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GenerateCatalog

    GenerateCatalog(IBuildLogger, CatalogPathConfig, string, IList<ContentCatalogDataEntry>, List<ResourceLocationData>, HashSet<Type>, FileRegistry, string, bool, int, CatalogBundleConfig)

    Generates a content catalog from the provided build data.

    Declaration
    public abstract ContentCatalogData GenerateCatalog(IBuildLogger logger, CatalogPathConfig catalogPaths, string catalogLocatorId, IList<ContentCatalogDataEntry> catalogDataEntries, List<ResourceLocationData> catalogLocations, HashSet<Type> providerTypes, FileRegistry registry, string buildResultHash, bool buildRemoteCatalog, int catalogRequestsTimeout, CatalogBundleConfig catalogBundleConfig = null)
    Parameters
    Type Name Description
    IBuildLogger logger

    The build logger for recording build steps.

    CatalogPathConfig catalogPaths

    Configuration containing catalog build and load paths.

    string catalogLocatorId

    The unique identifier for the catalog locator.

    IList<ContentCatalogDataEntry> catalogDataEntries

    The catalog data entries to include in the catalog.

    List<ResourceLocationData> catalogLocations

    List to populate with resource location data for catalog loading.

    HashSet<Type> providerTypes

    Set of provider types used by the catalog.

    FileRegistry registry

    The file registry to track generated files.

    string buildResultHash

    The hash of the build result for versioning.

    bool buildRemoteCatalog

    Whether to build a remote catalog in addition to the local one.

    int catalogRequestsTimeout

    The timeout in seconds for catalog download requests.

    CatalogBundleConfig catalogBundleConfig

    Optional configuration for bundling the catalog into an AssetBundle.

    Returns
    Type Description
    ContentCatalogData

    The generated content catalog data.

    Implements
    ICatalogBuilder.GenerateCatalog(IBuildLogger, CatalogPathConfig, string, IList<ContentCatalogDataEntry>, List<ResourceLocationData>, HashSet<Type>, FileRegistry, string, bool, int, CatalogBundleConfig)
    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)