docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum NetworkObject.OwnershipStatus

    Ownership status flags: None: If nothing is set, then ownership is considered "static" and cannot be redistributed, requested, or transferred (i.e. a Player would have this). Distributable: When set, this instance will be automatically redistributed when a client joins (if not locked or no request is pending) or leaves. Transferable: When set, a non-owner can obtain ownership immediately (without requesting and as long as it is not locked). RequestRequired: When set, a non-owner must request ownership from the owner (will always get locked once ownership is transferred). SessionOwner: When set, only the current session owner may have ownership over this object. All: Used within the inspector view only. When selected it will set the Distributable, Transferable, and RequestRequired flags or if those flags are already set it will select the SessionOwner flag by itself.

    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    [Flags]
    public enum NetworkObject.OwnershipStatus

    Fields

    Name Description
    All

    Used within the inspector view only. When selected it will set the Distributable, Transferable, and RequestRequired flags or if those flags are already set it will select the SessionOwner flag by itself.

    Distributable

    When set, this instance will be automatically redistributed when a client joins (if not locked or no request is pending) or leaves.

    None

    When set, this instance will have no permissions (i.e. cannot distribute, transfer, etc).

    RequestRequired

    When set, a non-owner must request ownership from the owner (will always get locked once ownership is transferred).

    SessionOwner

    When set, only the current session owner may have ownership over this object.

    Transferable

    When set, a non-owner can obtain ownership immediately (without requesting and as long as it is not locked).

    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)