Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Scripting back ends

Understand the different options Unity provides for compiling and running your scripts, and how each affects your project.
Read time 1 minuteLast updated 14 days ago

In Unity, the scripting back end is the runtime technology that compiles and executes your C# scripts. It determines how your code is turned into executable instructions and what runtime manages it on target platforms.

Topic

Description

Introduction to scripting back endsUnderstand the available scripting backends and their effects on your project.
Mono scripting back endMono is a stable, mature .NET runtime that provides a managed environment for the just-in-time (JIT) compilation of your C# code.
IL2CPP scripting back endIL2CPP is Unity's ahead-of-time (AOT) pipeline that converts C# intermediate language (IL) to C++, then compiles to native code. It's required on several platforms where Mono and JIT are not supported.
CoreCLR scripting back end (Experimental)CoreCLR is the open-source, cross-platform .NET runtime maintained by the .NET Foundation as part of the modern .NET platform (the successor to .NET Core). It provides the execution engine, garbage collector, and just-in-time (JIT) compiler that power .NET applications across Windows, macOS, and Linux.

Additional resources