This version of Unity is unsupported.
Method group is Obsolete

NetworkIdentity.ForceSceneId

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

Declaration

public void ForceSceneId(int newSceneId);

Parameters

sceneId The new Scene ID.

Description

Force the Scene ID to a specific value.

This can be used to fix an invalid Scene ID. If you process all the NetworkIdentity components in a Scene you can assign them new values starting from 1.