Version: 2019.2

ManagedStrippingLevel

enumeration

Switch to Manual

Description

Defines how aggressively Unity strips unused managed (C#) code.

When Unity builds your game or application it can strip unused code from the managed dynamically linked libraries used in the project. Stripping code can make the resulting executable significantly smaller, but can sometimes mistakenly remove code that is actually used. The ManagedStrippingLevel Enum defines the options you can use when specifying how aggressively Unity should remove unused code.

See Also: PlayerSettings.GetManagedStrippingLevel, PlayerSettings.SetManagedStrippingLevel

Variables

DisabledDo not strip any code.