# StartProfileCapture(ProfileCaptureOptions)

> Starts a profile capture to record content build profile events.

## Definition

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

```csharp
public static void StartProfileCapture(ProfileCaptureOptions options)
```

### Parameters

**** (\[ProfileCaptureOptions]\(/engine/6000.5/script-reference/unityeditor/build/content/profilecaptureoptions)): Used to filter captured events.

### Remarks

Throws an InvalidOperationException if the previous profile capture hasn't stopped.
