Version: 2018.4
LanguageEnglish
  • C#

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

Switch to Manual

Parameters

BuildTargetGroup The platform build target group whose stripping level you want to set.
ManagedStrippingLevel The desired managed code stripping level.

Description

Sets the managed code stripping level for specified BuildTargetGroup.

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 or to disable code stripping altogether.

See Also: GetManagedStrippingLevel, Managed bytecode stripping with IL2CPP