docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct GhostMetrics

    A list of serialized ghosts metrics. To find the corresponding ghost name for each metric, each index in this buffer is a 1 to 1 mapping of GhostNames

    Implements
    IBufferElementData
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    [InternalBufferCapacity(0)]
    public struct GhostMetrics : IBufferElementData

    Fields

    ChunkCount

    Only Available on Server How many chunks we needed to go through in order to create the snapshot.

    Declaration
    public uint ChunkCount
    Field Value
    Type Description
    uint

    InstanceCount

    How many instances of this ghost was in the serialized packet.

    Declaration
    public uint InstanceCount
    Field Value
    Type Description
    uint

    SizeInBits

    The size of the serialized ghost in bits

    Declaration
    public uint SizeInBits
    Field Value
    Type Description
    uint

    Uncompressed

    Only Available on Client The uncompressed size of the ghost.

    Declaration
    public uint Uncompressed
    Field Value
    Type Description
    uint

    Implements

    Unity.Entities.IBufferElementData
    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)