---
title: Burst 컴파일
product: Unity Editor
version: '6000.0'
latest_version: '7000.0'
status: This page documents version 6000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/ko-kr/engine/6000.0/manual/scripting/compilation-and-code-reload/script-compilation/burst
latest_url: https://docs.unity.com/ko-kr/engine/7000.0/manual/scripting/compilation-and-code-reload/script-compilation/burst.md
generated_at: 2026-11-19T13:46:10.256Z
locale: ko-kr
---

# Burst 컴파일

> Unity Burst 컴파일러를 사용하여 고성능 C#이라는 C#의 하위 세트에서 코드를 컴파일합니다. 이 하위 세트는 주로 잡 시스템에서 작동하도록 설계되었습니다.

Burst Unity 컨텍스트에서 고성능 C#(HPC#)이라고 하는 C#의 하위 세트에서 작동하는 컴파일러입니다. Burst는 [LLVM](https://llvm.org/)을 사용하여 .NET [Intermediate Language (IL)](https://learn.microsoft.com/en-us/dotnet/standard/managed-code) 를 대상 CPU 아키텍처의 성능에 최적화된 코드로 변환합니다.

Burst 원래 Unity 잡 시스템과 함께 사용하도록 설계되었습니다. 잡은 [`IJob`](ScriptRef:UnityJobs.IJob) 인터페이스를 구현하는 구조이며, 사용 가능한 모든 CPU 코어를 최적화하기 위해 병렬로 실행할 수 있는 작은 작업 단위를 나타냅니다. 프로젝트를 설계하거나 리팩터링하여 작업을 Burst 컴파일 작업으로 분할하면 CPU 바운드 코드의 성능을 크게 향상시킬 수 있습니다. 자세한 내용은 작업 시스템을 사용하여 [멀티스레드 코드 작성](/engine/6000.0/manual/scripting/optimization/job-system.md)을 참고하십시오.

잡 외에, Burst 정적 메서드의 코드가 지원되는 C# 하위 집합에 속하는 한 정적 메서드를 컴파일할 수도 있습니다. 고성능 C#에 포함된 항목에 대한 자세한 내용은 [HPC# 개요](https://docs.unity3d.com/Packages/com.unity.burst@latest/index.html?subfolder=/manual/csharp-hpc-overview.html)를 참조하십시오.

Burst는 Unity의 [엔터티 컴포넌트 시스템(ECS) 기술](https://docs.unity3d.com/Packages/com.unity.entities@latest/index.html?subfolder=/manual/ecs-packages.html)의 핵심 요소로, 일련의 상호 종속 패키지가 함께 작동하여 고성능 코드를 생성합니다. 그러나 Burst ECS와 독립적으로 사용할 수 있으며 지원되는 C# 기능을 사용하는 모든 Unity 프로젝트 통합할 수 있습니다.

Burst에 대한 자세한 내용은 [Burst 컴파일러 패키지 문서](https://docs.unity3d.com/Packages/com.unity.burst@latest)를 참조하십시오.

## 컴파일 파이프라인에서 Burst 역할##burst's-role-in-the-compilation-pipeline

Burst는 C#의 하위 집합만 지원하기 때문에 완전한 [스크립팅 백엔드](/engine/6000.0/manual/scripting-backend.md)가 아닙니다. 프로젝트에서 [Mono](/engine/6000.0/manual/scripting/compilation-and-code-reload/script-compilation/backends/mono.md) 또는 [IL2CPP](/engine/6000.0/manual/scripting/compilation-and-code-reload/script-compilation/backends/il2cpp.md)를 대체할 수는 없지만 둘 중 하나를 보완합니다.

프로젝트에 Burst 패키지를 포함하면 스크립팅 백엔드가 기본적으로 코드를 컴파일하고 Burst는 버스트 호환 부분이 [버스트 컴파일에 표시](https://docs.unity3d.com/Packages/com.unity.burst@latest/index.html?subfolder=/manual/compilation-burstcompile.html)되었을 때 컴파일합니다.

C# 스크립트는 평소와 같이 IL(Intermediate Language)로 컴파일됩니다. Burst 표시된 메서드의 경우 해당 IL은 Burst 네이티브 코드로 추가 컴파일됩니다. Burst Unity 에디터 플레이 모드에서 JIT(Just-In-Time) 컴파일을 수행하지만, 플레이어 빌드에서는 AOT(Ahead-of-Time) 컴파일을 수행합니다.

Burst 지원하는 C#의 하위 세트는 관리되는 오브젝트를 지원하지 않습니다. Unity에는 일반적인 타입과 데이터 구조의 버전을 Burst 호환하도록 설계된 패키지가 있습니다. [Collections](https://docs.unity3d.com/Packages/com.unity.collections@latest) 패키지는 배열 및 리스트와 같은 Burst 호환 Collections를 제공하고, [Unity Mathematics](https://docs.unity3d.com/Packages/com.unity.mathematics@latest)는 Burst 호환 Mathematics 함수를 제공합니다.

## Burst 사용한 컴파일##compiling-with-burst

다음 조건이 충족된 경우 코드가 Burst 컴파일됩니다.

* 코드는 [Burst 호환](https://docs.unity3d.com/Packages/com.unity.burst@latest/index.html?subfolder=/manual/csharp-hpc-overview.html)됩니다.
* 버스트 컴파일은 플레이어 빌드에 대한 [버스트 AOT 설정](https://docs.unity3d.com/Packages/com.unity.burst@latest/index.html?subfolder=/manual/building-aot-settings.html) 또는 Unity 에디터 코드의 [버스트 메뉴](https://docs.unity3d.com/Packages/com.unity.burst@latest/index.html?subfolder=/manual/editor-burst-menu.html)를 통해 활성화됩니다.
* 코드는 [`[BurstCompile]`](https://docs.unity3d.com/Packages/com.unity.burst@latest/index.html?subfolder=/manual/compilation-burstcompile.html) 속성으로 명시적으로 표시되거나 해당 코드에서 참조됩니다.

[스크립팅 심볼](/engine/6000.0/manual/scripting/compilation-and-code-reload/script-compilation/conditional-compilation/platform-dependent-compilation.md) `ENABLE_BURST_AOT`을 사용하여 Burst AOT 컴파일 설정을 활성화한 경우에만 코드의 섹션을 조건부로 컴파일할 수 있습니다.

자세한 내용은 [Burst compilation](https://docs.unity3d.com/Packages/com.unity.burst@latest/index.html?subfolder=/manual/compilation.html)을 참조하십시오.

## 추가 리소스##additional-resources

* [Burst 컴파일러 패키지 문서](https://docs.unity3d.com/Packages/com.unity.burst@latest)
* [잡 시스템](/engine/6000.0/manual/scripting/optimization/job-system.md)
