# State

> Specifies the state of a driver workaround for a hardware profile.

## Definition

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

```csharp
public enum State
```

## Remarks

Use this enum with [DefaultDeviceFilter.SetWorkaround](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/defaultdevicefilter/setworkaround.md) or [ProfileDeviceFilter.SetWorkaround](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/profiledevicefilter/setworkaround.md) to control how Unity applies a specific driver workaround on matching devices.

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

## Fields

| Value                                                                                      | Description                                                                  |
| ------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------- |
| [Default](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/state/default.md)   | Unity decides whether to apply behavior based on automatic device detection. |
| [Disabled](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/state/disabled.md) | Enforces behavior to be off.                                                 |
| [Enabled](/engine/6000.6/script-reference/unityeditor/hardwareprofiles/state/enabled.md)   | Enforces behavior to be on.                                                  |
