docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class GhostComponentSerializerCollectionSystemGroup

    Parent group of all code-generated systems that registers the ghost component serializers to the GhostCollection, more specifically to the GhostComponentSerializer.State collection) at runtime. For internal use only, don't add systems to this group.

    Inheritance
    object
    GhostComponentSerializerCollectionSystemGroup
    Namespace: Unity.Netcode
    Assembly: Unity.NetCode.dll
    Syntax
    [MovedFrom(true, "Unity.NetCode", null, null)]
    public class GhostComponentSerializerCollectionSystemGroup : ComponentSystemGroup

    Fields

    CollectionDefaultCapacity

    HashSets and HashTables have a fixed capacity.

    Declaration
    public static int CollectionDefaultCapacity
    Field Value
    Type Description
    int
    Remarks

    Increase this if you have lots of variants. Hardcoded multiplier is due to DontSerializeVariants.

    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)