Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DefinedWorkarounds

An array of all workaround names recognized by Unity's Vulkan backend.
Read time 1 minuteLast updated 10 days ago

Definition

public static readonly string[] DefinedWorkarounds

Remarks

Use these names with DefaultDeviceFilter.SetWorkaround or ProfileDeviceFilter.SetWorkaround 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.