Version: 2019.4
C# compiler
IL2CPP

Scripting backends

Unity has two scripting backendsA framework that powers scripting in Unity. Unity supports three different scripting backends depending on target platform: Mono, .NET and IL2CPP. Universal Windows Platform, however, supports only two: .NET and IL2CPP. More info
See in Glossary
: Mono and IL2CPP (Intermediate Language To C++), each of which uses a different compilation technique:

  • Mono uses just-in-time (JIT) compilation and compiles code on demand at runtime.
  • IL2CPP uses ahead-of-time (AOT) compilation and compiles your entire application before it is run.

This section contains further information about these backends:

Page Description
IL2CPPA Unity-developed scripting back-end which you can use as an alternative to Mono when building projects for some platforms. More info
See in Glossary
Information about the IL2CPP back end.
Scripting restrictions This section contains information on what scripting restrictions apply to each platform you want to build your application for, to support cross-platform code.
Managed code stripping Information about managed code stripping, which removes unused code from a build. This helps decrease the final build size of your application.
C# compiler
IL2CPP