docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct HostMigrationStats

    Statistics for a running host migration system on the host.

    Implements
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.NetCode.HostMigration
    Assembly: Unity.NetCode.dll
    Syntax
    public struct HostMigrationStats : IComponentData, IQueryTypeParameter

    Fields

    GhostCount

    How many ghosts are present in the host migration data.

    Declaration
    public int GhostCount
    Field Value
    Type Description
    int

    LastDataUpdateTime

    The last time the host migration data blob was updated. Accessed via Get(World, ref NativeList<byte>).

    Declaration
    public double LastDataUpdateTime
    Field Value
    Type Description
    double

    PrefabCount

    How many ghost prefabs are in the host migration data.

    Declaration
    public int PrefabCount
    Field Value
    Type Description
    int

    TotalUpdateSize

    The total size collected so far from the host migration system.

    Declaration
    public int TotalUpdateSize
    Field Value
    Type Description
    int

    UpdateSize

    The size of the last serialized host migration data blob. This is the blob accessed via Get(World, ref NativeList<byte>).

    Declaration
    public int UpdateSize
    Field Value
    Type Description
    int

    Implements

    IComponentData
    IQueryTypeParameter
    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)