Skip to content

BepInIncompatibility Class

This attribute specifies other plugins that are incompatible with this plugin.

C#
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class BepInIncompatibility : Attribute, ICacheable

Inheritance objectAttribute

Implements ICacheable

Marks this BaseUnityPlugin as incompatible with another plugin. If the other plugin exists, this plugin will not be loaded and a warning will be shown.

C#
public BepInIncompatibility(string IncompatibilityGUID)

IncompatibilityGUID string
The GUID of the referenced plugin.

The GUID of the referenced plugin.

C#
public string IncompatibilityGUID { get; protected set; }