# ClearAll()

> Resets all workarounds to the default state.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.HardwareProfiles](/engine/6000.6/script-reference/unityeditor/hardwareprofiles.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public void ClearAll()
```

### Remarks

Clears the `enabled`, `disabled`, and `default` lists, then adds all entries from [DefaultWorkarounds.DefinedWorkarounds](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/defaultworkarounds/definedworkarounds.md) to the `default` list. This restores Unity's automatic workaround detection for all workarounds.
