We’ve just landed a new feature for IL2CPP in Unity 2020.2.0a18, 0-change rebuilds! We’re happy to invite you all to try out this new feature, and we would love any feedback!
We need to come up with a better name for this feature, since the actual functionality ensures that “0-change rebuilds” will not actually happen!
Starting in Unity 2020.2.0a18, builds that target an IL2CPP platform will automatically make use of this new feature:
- Make a build as normal, IL2CPP will convert your compiled assemblies to C++ and compile the generated code to C++
- Make changes to your project that DO NOT involve changing or recompiling any code (changes to materials, shaders, prefabs, etc.)
- Make another build, and notice that IL2CPP and native binary compilation will be skipped entirely, since no code has changed since the last build
Unnecessarily reconverting and recompiling code has been a major pain point for many users, especially those working primarily with art and asset pipelines, and also for users that need to do frequent deploys of their builds to test on actual devices, such as iOS and Android.
We hope that this feature can improve everyone’s workflow, and is the first bit to be released of several in-progress and planned features aimed at improving the workflow and iteration time of developing in Unity.
Thank you!