This version of Unity is unsupported.
Method group is Obsolete

NetworkManager.OnClientSceneChanged

Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

public void OnClientSceneChanged(NetworkConnection conn);

Parameters

conn The network connection that the Scene change message arrived on.

Description

Called on clients when a Scene has completed loaded, when the Scene load was initiated by the server.

Scene changes can cause player objects to be destroyed. The default implementation of OnClientSceneChanged in the NetworkManager is to add a player object for the connection if no player object exists.