# Dispose()

> Dispose the BakeProgressState object.

## Definition

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

```csharp
public void Dispose()
```

### Remarks

Releases any resources associated with the progress state. Always call this method when finished with the progress state, preferably with a using statement to ensure proper cleanup.
