Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NetworkManager.OnClientError

Switch to Manual
public function OnClientError(conn: Networking.NetworkConnection, errorCode: int): void;

Parameters

conn Connection to a server.
errorCode Error code.

Description

Called on clients when a network error occurs.