# DefinedWorkarounds

> An array of all workaround names recognized by Unity's Vulkan backend.

## Definition

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

```csharp
public static readonly string[] DefinedWorkarounds
```

### Remarks

Use these names with [DefaultDeviceFilter.SetWorkaround](/engine/6000.7/script-reference/unityeditor/hardwareprofiles/defaultdevicefilter/setworkaround.md) or [ProfileDeviceFilter.SetWorkaround](/engine/6000.7/script-reference/unityeditor/hardwareprofiles/profiledevicefilter/setworkaround.md) to enable or disable specific workarounds. The available workarounds are:

* `HasBuggyPipelineCacheDataSize` - Fixes inconsistent pipeline cache data sizes.
* `HasBuggyPipelineCacheHeaderVersion` - Fixes pipeline cache header version mismatches.
* `HasBuggyBackBufferCopyImage` - Fixes swapchain image corruption during copy.
* `HasBuggyRenderingWithoutFragmentShader` - Fixes pipeline failures without fragment shaders.
* `HasBuggyResetCommandBuffer` - Fixes driver instability after command buffer resets.
* `HasBuggyCopyImageToBuffer` - Fixes misaligned image-to-buffer copy operations.
* `HasBuggyAutoResolveStoreResolvedOnly` - Fixes auto-resolve store behavior.
* `HasBuggySubAllocatedColorAttachment` - Fixes sub-allocated color attachment issues.
* `HasBuggyRenderingWithColorMask0` - Fixes rendering with color write mask set to zero.
* `HasBuggyLoadStoreAttachmentOps` - Fixes load/store attachment operations.
* `HasBuggyBitfieldUExtract` - Fixes bitfield extraction issues.
* `HasBuggyTransferExecutionDependencyChain` - Fixes transfer execution dependency chain synchronization.
* `HasBuggySRGBSwapChain` - Fixes incorrect gamma handling in sRGB swap chains.
* `HasBuggyDescriptorSetUpdateTemplate` - Fixes descriptor set update template issues.
* `HasBuggyDebugUtilsLabels` - Fixes debug utils labeling issues.
* `HasBuggyMSAAResolvePass` - Fixes subpass skipping during MSAA resolve.
* `HasBuggyPSOSerialization` - Fixes crashes by skipping read and write of the persistent pipeline cache.
* `HasBuggySubpassMerging` - Fixes attachment corruption when the driver merges subpasses.
