# DetectCrossSceneReferences(Scene)

> Detects cross-Scene references in a Scene.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.SceneManagement](/engine/6000.3/script-reference/unityeditor/scenemanagement.md)
* **Assembly:** UnityEditor

```csharp
public static bool DetectCrossSceneReferences(Scene scene)
```

### Parameters

**** (\[Scene]\(/engine/6000.3/script-reference/unityengine/scenemanagement/scene)): Scene to check for cross-Scene references.

### Returns

| Type                                                          | Description                           |
| ------------------------------------------------------------- | ------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Was any cross-Scene references found. |

### Remarks

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