docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Event OnTransportFailure

    The callback to invoke if the NetworkTransport fails.

    Namespace: Unity.Netcode
    Assembly: solution.dll
    Syntax
    public event Action OnTransportFailure
    Returns
    Type Description
    Action
    Remarks

    A failure of the transport is always followed by the NetworkManager shutting down. Recovering from a transport failure would normally entail reconfiguring the transport (e.g. re-authenticating, or recreating a new service allocation depending on the transport) and restarting the client/server/host.

    In This Article
    Back to top
    Copyright © 2024 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)