docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field kMagic

    Magic number written at the start of binary catalog files, used to verify that a file is a valid catalog data file.

    Namespace: UnityEngine.AddressableAssets.ResourceLocators
    Assembly: Unity.Addressables.dll
    Syntax
    protected const int kMagic = 233015618
    Returns
    Type Description
    int
    Remarks

    Previously calculated from nameof(ContentCatalogData).GetHashCode(), but that is not guaranteed to be stable so it was switched to the hard coded original hash code from Mono.

    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)