docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum NetworkObject.OwnershipRequestResponseStatus

    What is returned via OnOwnershipRequestResponse after an ownership request has been sent via RequestOwnership()

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

    Fields

    Name Description
    Approved

    The ownership request was approved and the requesting client has gained ownership on the local instance

    CannotRequest

    The ownership request was denied because the RequestRequired status changed while the request was in flight

    Denied

    The ownership request was denied by the authority instance (OnOwnershipRequested returned false)

    Locked

    The ownership request was denied because the object became locked after the request was sent

    RequestInProgress

    The ownership request was denied because another request was already in progress when this request was received

    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)