# BakeReflectionProbe(ReflectionProbe, string)

> Starts a synchronous bake job for the probe.

## Definition

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

```csharp
public static bool BakeReflectionProbe(ReflectionProbe probe, string path)
```

### Parameters

**** (\[ReflectionProbe]\(/engine/6000.0/script-reference/unityengine/reflectionprobe)): Target probe.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The location where cubemap will be saved.

### Returns

| Type                                                          | Description                           |
| ------------------------------------------------------------- | ------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if baking was succesful. |

### Remarks

Returns when the baking has finished. Additional Resources: [ReflectionProbe](/engine/6000.0/script-reference/unityengine/reflectionprobe.md).
