To change this property, go to Edit > Project Settings > Player, open the Other Settings panel, then click on the Managed Stripping Level dropdown and select a stripping level.Īs you increase the Managed Stripping Level, Unity removes more code. You can control how much code Unity strips with the Managed Stripping Level property. This process of stripping code reduces the final binary size of your build, but increases build time.Ĭode stripping is disabled by default when you use Mono but code stripping can’t be disabled for IL2CPP. When you build an application, Unity compiles and then searches the assemblies (.DLLs) in your project to detect and remove unused code. Universal Windows Platform, however, supports only two. Unity supports three different scripting backends depending on target platform: Mono. For more information, see Scripting backends A framework that powers scripting in Unity. To do this through the Editor, go to Edit > Project Settings > Player, open the Other Settings panel, then click on the Scripting Backend dropdown and select which backend you want. When you build a player for your application, you can choose which scripting backend to use. The benefit of using a JIT-based scripting backend is that the compilation time is typically much faster than AOT.īy default, Unity uses the Mono backend on platforms that support Mono.
0 Comments
Leave a Reply. |