# GetLightingDataAssetForScene(Scene)

> Gets the LightingDataAsset associated with a specific scene. This method will return null if the scene has no LightingDataAsset, or the scene is invalid.

## Definition

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

```csharp
public static LightingDataAsset GetLightingDataAssetForScene(Scene scene)
```

### Parameters

**** (\[Scene]\(/engine/6000.5/script-reference/unityengine/scenemanagement/scene)): The scene to get the LightingDataAsset for.

### Returns

| Type                                                                                  | Description                                      |
| ------------------------------------------------------------------------------------- | ------------------------------------------------ |
| [LightingDataAsset](/engine/6000.5/script-reference/unityeditor/lightingdataasset.md) | The LightingDataAsset associated with the scene. |

### Remarks

Additional Resources: [Lightmapping.SetLightingDataAssetForScene](/engine/6000.5/script-reference/unityeditor/lightmapping/setlightingdataassetforscene.md).
