# CreateLoadableSceneId

> Create a LoadableSceneId object based using a scene's GUID.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

## CreateLoadableSceneId(GUID)

Create a LoadableSceneId object based using a scene's GUID.

```csharp
public static LoadableSceneId CreateLoadableSceneId(GUID guid)
```

### Parameters

**** (GUID): The scene's GUID.

### Returns

| Type                                                                                | Description                                                         |
| ----------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| [LoadableSceneId](/engine/6000.7/script-reference/unity/loading/loadablesceneid.md) | A LoadableSceneId handle populated to reference the provided scene. |

## CreateLoadableSceneId(string)

Create a LoadableSceneId object based on a scene's path.

```csharp
public static LoadableSceneId CreateLoadableSceneId(string scenePath)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The scene's path within the project. Must end with .unity extension.

### Returns

| Type                                                                                | Description                                                         |
| ----------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| [LoadableSceneId](/engine/6000.7/script-reference/unity/loading/loadablesceneid.md) | A LoadableSceneId handle populated to reference the provided scene. |
