docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum NetworkObject.OwnershipPermissionsFailureStatus

    In the event of an immediate (local instance) failure to change ownership, the following ownership permission failure status codes will be returned via OnOwnershipPermissionsFailure. Locked: The NetworkObject is locked and ownership cannot be acquired. RequestRequired: The NetworkObject requires an ownership request via RequestOwnership(). RequestInProgress: The NetworkObject is already processing an ownership request and ownership cannot be acquired at this time. NotTransferrable: The NetworkObject does not have the Transferable flag set and ownership cannot be acquired. SessionOwnerOnly: The NetworkObject has the SessionOwner flag set and ownership cannot be acquired.

    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public enum NetworkObject.OwnershipPermissionsFailureStatus

    Fields

    Name Description
    Locked

    The NetworkObject is locked and ownership cannot be acquired

    NotTransferrable

    The NetworkObject does not have the OwnershipStatus.Transferable flag set and ownership cannot be acquired

    RequestInProgress

    The NetworkObject is already processing an ownership request and ownership cannot be acquired at this time

    RequestRequired

    The NetworkObject requires an ownership request via RequestOwnership

    SessionOwnerOnly

    The NetworkObject has the OwnershipStatus.SessionOwner flag set and ownership cannot be acquired

    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)