# GetInstantiatedLightProbesForScene(Scene)

> Gets an instantiated clone of the LightProbes object for a specific scene.

## Definition

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

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

### Parameters

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

### Returns

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

### Remarks

If you modify the `LightProbes` object returned by this method, you will only affect the lighting of `scene`. Modifications will not affect assets.

**Note**: This function automatically instantiates the `LightProbes` object and makes it unique to the passed scene. You need to destroy the `LightProbes` object when it's no longer needed. You can also use [Resources.UnloadUnusedAssets](/engine/6000.3/script-reference/unityengine/resources/unloadunusedassets.md) to destroy a `LightProbes` object, which will be called automatically when you switch to a new scene.

Additional Resources: [LightProbes.GetSharedLightProbesForScene](/engine/6000.3/script-reference/unityengine/lightprobes/getsharedlightprobesforscene.md).
