docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateOptimizedCopy

    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.

    Declaration
    public static ContentCatalogData CreateOptimizedCopy(ContentCatalogData original)
    Parameters
    Type Name Description
    ContentCatalogData original
    Returns
    Type Description
    ContentCatalogData

    A newly created catalog that can be serialized and loaded via the runtime.

    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)