docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CatalogUtilities

    Utility methods for working with catalog and catalog hash file paths.

    Inheritance
    object
    CatalogUtilities
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.ResourceManagement.Util
    Assembly: Unity.ResourceManager.dll
    Syntax
    public class CatalogUtilities

    Methods

    Name Description
    GetCatalogExtension(string)

    Gets the file extension of a catalog path, ignoring any URL query string.

    GetCatalogFilePath(string, string)

    Given a path to a .hash file, returns the corresponding catalog path with catalogExtension (e.g. .bin or .json). Only the file extension is replaced, so a .hash that appears elsewhere in the path (e.g. a folder name) is left untouched. Any URL query string is preserved correctly.

    GetHashFilePath(string)

    Given a path to a catalog file, returns the corresponding .hash file path. Only the file extension is replaced; any URL query string is preserved.

    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)