Version: 2020.1
C# compiler
IL2CPP

Scripting backends

Unity has two scripting backends: 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 Descripción
IL2CPP 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