Version: 2022.3
Language : English
C# compiler
Mono overview

Scripting backends

Unity has two scripting backends: Mono and 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
(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
Mono overview Information about the Mono scripting back end.
IL2CPP overview Information about the IL2CPP scripting 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
Mono overview