Overview
Explore the fundamentals of Burst compilation in Unity through this 39-minute conference talk from Unite Copenhagen. Learn how to implement Burst in your games by following a hands-on demonstration that transforms a simple game using the C# Job System and Burst for improved performance. Discover the capabilities and limitations of Burst, including supported and unsupported C# constructs, while gaining insights into common pitfalls and their solutions. Delve into topics such as array handling, static data management, floating-point performance, and exception throwing. Understand how to enable Burst compilation in both Unity Editor and Player, utilize the Burst Inspector, and troubleshoot runtime crashes. Get a glimpse of upcoming features in Unity 2019.3 and Burst 1.2.0, as well as the technology's roadmap. Access accompanying slides and code to enhance your learning experience.
Syllabus
Intro
What is Burst
Burst package
Move code to the job system
Using Burst to compile code
When compilation happens
AOT additional notes
BurstCompile attribute
What you can't do with Burst
Dealing with arrays
Dealing with Map class
Dealing with Static Data
Dealing with containers
What you can do with Burst
Floating-point performance
Throwing exceptions
Enable Burst compilation in Editor
Enable Burst compilation in Player
Burst Inspector
Dealing with runtime crashes
Coming in 2019.3 / Burst 1.2.0
Roadmap
Summary
Taught by
Unity