# GetSharedLightProbesForScene(Scene)

> Gets the shared LightProbes object for a specific scene.

## Definition

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

```csharp
public static LightProbes GetSharedLightProbesForScene(Scene scene)
```

### Parameters

**** (\[Scene]\(/engine/6000.7/script-reference/unityengine/scenemanagement/scene)): The scene to get the shared light probe data for.

### Returns

| Type                                                                      | Description                                |
| ------------------------------------------------------------------------- | ------------------------------------------ |
| [LightProbes](/engine/6000.7/script-reference/unityengine/lightprobes.md) | The shared light probe data for the scene. |

### Remarks

Unless you need to modify an asset, it's not recommended to modify a `LightProbes` object returned by this method. You may affect all currently loaded versions of the scene, or change the light probe data stored in Lighting Data assets.

Use [LightProbes.GetInstantiatedLightProbesForScene](/engine/6000.7/script-reference/unityengine/lightprobes/getinstantiatedlightprobesforscene.md) instead.

Additional Resources: [LightProbes.GetInstantiatedLightProbesForScene](/engine/6000.7/script-reference/unityengine/lightprobes/getinstantiatedlightprobesforscene.md).
