docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetCatalogFilePath

    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.

    Declaration
    public static string GetCatalogFilePath(string hashPath, string catalogExtension)
    Parameters
    Type Name Description
    string hashPath

    The path or URL of the .hash file.

    string catalogExtension

    The catalog file extension to apply (e.g. .bin or .json).

    Returns
    Type Description
    string

    The catalog path corresponding to the given hash path.

    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)