docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SceneEntityMigrationId

    Used internally to track scene entities which have non-ghost components which will be migrated during host migrations. These are attached to entities with the IncludeInMigration component placed in a subscene. When a migration occurs the host migration data will be applied to existing scene entities on the new host (no new entity created), and this identifier is used to establish the matches.

    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 SceneEntityMigrationId : IComponentData, IQueryTypeParameter

    Fields

    Value

    Value used to link entities together after a migration has occured

    Declaration
    public ulong Value
    Field Value
    Type Description
    ulong

    Implements

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