Version: 2017.3

EditorSceneManager.DetectCrossSceneReferences

Switch to Manual
public static bool DetectCrossSceneReferences (SceneManagement.Scene scene);

Parameters

scene Scene to check for cross-scene references.

Returns

bool Was any cross-scene references found.

Description

Detects cross-scene references in a Scene.

Warnings are logged to the console if any object in the input Scene has references to objects in other Scenes.