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

ProfileWorkarounds

class in UnityEditor.HardwareProfiles

/

Inherits from:HardwareProfiles.DefaultWorkarounds

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

Description

Stores the workaround configuration for a ProfileDeviceFilter.

Extends DefaultWorkarounds with a default list. Workarounds in the default list let Unity decide whether to apply them based on device properties. This three-state model (enabled, disabled, default) allows device-specific profiles to override or defer to Unity's automatic workaround detection.

Use ProfileDeviceFilter.SetWorkaround to modify individual workarounds, or ProfileDeviceFilter.DisableAllWorkarounds to disable all workarounds at once.

For more information, refer to Workaround hardware profile settings.

Constructors

Constructor Description
ProfileWorkaroundsCreates a ProfileWorkarounds instance that contains empty enabled, disabled, and default lists.

Public Methods

Method Description
ClearAllResets all workarounds to the default state.
DisableAllMoves all defined workarounds to the disabled list.
SetWorkaroundSets the state of a specific driver workaround for this profile.

Inherited Members

Static Properties

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