Version: Unity 6.0 (6000.0)
Language : English
IL2CPP limitations
Burst compilation

Script compilation

This section contains information on how Unity compiles your scripts and in what order.

Topic Description
Burst compilation Use Burst to compile compatible sections of your C# code into highly-optimized native CPU code.
Conditional compilation Use and define preprocessor directives to selectively include or exclude sections of your code for compilation.
Organize scripts into assemblies Information about assembly definitions, which you can use to organize the scripts in your project.
Managed code stripping Understand and configure managed code stripping, which removes unused code from a build and helps decrease the final build size of your application.
Code analysis and source generation Use analyzers to inspect your code for style, quality, and other issues.
Fix compilation errors in Safe Mode Understand Unity’s Safe Mode, a mode that the Unity Editor enters if there are compilation errors in your project.

Additional resources

IL2CPP limitations
Burst compilation