Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

DefaultWorkarounds.DefinedWorkarounds

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static string[] DefinedWorkarounds;

Description

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

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.