# MergeSamplesWithTheSameName

> Merges and aggregates samples with the same name into a single hierarchy item.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor.Profiling](/engine/6000.3/script-reference/unityeditor/profiling.md)
* **Assembly:** UnityEditor

```csharp
MergeSamplesWithTheSameName = 1
```
