Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Burst compilation

Read time 2 minutesLast updated 10 days ago

Compile compatible sections of your C# code into highly-optimized native CPU code.

Topic

Description

Introduction to BurstUnderstand the fundamentals of the Burst compiler and its role in the Unity compilation ecosystem.
Get started with BurstGet started with Burst by creating your first simple Burst-compiled example code.
C# language supportCheck which elements of the C# language belong to the high-performance subset of C# that Burst can compile.
Configure Burst compilationDefine what and how Burst compiles in different contexts, mark your code for Burst compilation, and configure aspects of the compilation process.
Burst intrinsicsUse low-level intrinsics to get extra performance from Burst if you're writing single instruction, multiple data (SIMD) assembly code.
Editor referenceUse the Burst menu and Burst Inspector window in the Unity Editor to configure Burst options and inspect the Burst-compilable jobs in your project.
Platform build support referenceBuild your Burst-compiled project code on different platforms with the appropriate platform-specific toolchains.
Burst AOT Settings referenceConfigure Burst's Ahead-of-Time (AOT) compilation settings for your target platform and architecture.
OptimizationDebug and profile to identify bugs or bottlenecks in Burst-compiled code and configure a range of options to optimize performance.
Modding supportInclude Burst-compiled code as additional libraries in your mods.

Additional resources