# DefaultWorkarounds

> Stores the workaround configuration for a DefaultDeviceFilter.

## Definition

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

```csharp
public class DefaultWorkarounds
```

## Remarks

This class maintains two lists of workaround names: `enabled` workarounds that are forced on, and `disabled` workarounds that are forced off. Workarounds not present in either list use Unity's default behavior. Use [DefaultDeviceFilter.SetWorkaround](/engine/6000.7/script-reference/unityeditor/hardwareprofiles/defaultdevicefilter/setworkaround.md) to modify individual workarounds, or [DefaultDeviceFilter.DisableAllWorkarounds](/engine/6000.7/script-reference/unityeditor/hardwareprofiles/defaultdevicefilter/disableallworkarounds.md) to disable all workarounds at once.

For more information, refer to [Workaround hardware profile settings](/engine/6000.7/manual/platform-specific/android/developing/graphics/vulkan-hardware-profiles/workarounds.md).

## Fields

| Value                                                                                                   | Description                                   |
| ------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| [disabled](/engine/6000.7/script-reference/unityeditor/hardwareprofiles/defaultworkarounds/disabled.md) | List of workaround names that are forced off. |
| [enabled](/engine/6000.7/script-reference/unityeditor/hardwareprofiles/defaultworkarounds/enabled.md)   | List of workaround names that are forced on.  |

## Static Fields

| Value                                                                                                                       | Description                                                            |
| --------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| [DefinedWorkarounds](/engine/6000.7/script-reference/unityeditor/hardwareprofiles/defaultworkarounds/definedworkarounds.md) | An array of all workaround names recognized by Unity's Vulkan backend. |

## Constructors

| Constructor                                                                                                     | Description                                                                 |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [DefaultWorkarounds()](/engine/6000.7/script-reference/unityeditor/hardwareprofiles/defaultworkarounds/ctor.md) | Creates a new `DefaultWorkarounds` instance with no overridden workarounds. |

## Methods

| Method                                                                                                            | Description                                                             |
| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [DisableAll](/engine/6000.7/script-reference/unityeditor/hardwareprofiles/defaultworkarounds/disableall.md)       | Moves all defined workarounds to the disabled list.                     |
| [SetWorkaround](/engine/6000.7/script-reference/unityeditor/hardwareprofiles/defaultworkarounds/setworkaround.md) | Sets the state of a specific driver workaround for this default filter. |
