Don’t ignore the side effect of Managed code stripping
After Unity 2018.3, the new
Managed Stripping Level option replaces the old
Stripping Level option in the player settings. This new option is available for all platforms and both Mono and IL2CPP scripting backends. The main purpose of this feature is to reduce the size of the app by removing some unused code. It sounds great, but there is a potential side effect. How does Unity know which code is unused code?