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.