---
title: 플레이 모드 및 에디터 프로필 샘플
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/analysis/profiler/play-edit-samples
latest_url: https://docs.unity.com/ko-kr/engine/7000.0/manual/analysis/profiler/play-edit-samples.md
last_updated: 2026-09-14
generated_at: 2026-11-20T03:29:44.666Z
locale: ko-kr
---

# 플레이 모드 및 에디터 프로필 샘플

> 플레이 모드에서 수집되는 프로파일링 데이터와 에디터에서 수집되는 데이터의 차이점에 대해 알아봅니다.

Unity 에디터 또는 플레이 모드를 프로파일링할 때 Unity는 해당 타이밍을 다음과 같은 [마커](/engine/6000.0/manual/analysis/profiler/markers.md)가 있는 두 개의 샘플 그룹으로 그룹화합니다.

* `PlayerLoop`: 플레이 모드와 관련된 타이밍
* `EditorLoop`: 에디터와 관련된 타이밍

## 플레이 모드 샘플##play-mode-samples

플레이 모드를 프로파일링할 때 프로파일러는 `PlayerLoop` 내에서 발생한 타이밍 샘플만 수집합니다. 이 그룹은 [CPU](/engine/6000.0/manual/analysis/profiler/visualizing-data/cpu/cpu.md) 및 [GPU 프로파일러 모듈](/engine/6000.0/manual/analysis/graphics-performance-profiling/profile-rendering/profiler-gpu.md)에서 잘못된 측정을 줄이는 데 도움이 됩니다.

Unity는 [CPU 프로파일러 모듈 차트](/engine/6000.0/manual/analysis/profiler/visualizing-data/cpu/cpu.md)에서 모든 `EditorLoop` 샘플을 **기타** 샘플로 분류합니다. 즉, `EditorLoop` 샘플은 **기타** 카테고리에 가장 큰 기여자가 됩니다. 이 시간에 에디터가 수행하는 작업을 알아보고 **기타** 카테고리에 기여하는 내용을 자세히 설명하려면 에디터 프로세스를 [프로파일링합니다](/engine/6000.0/manual/analysis/profiler/profiling-applications/profiling-edit-mode.md).

> **Important:**
>
> [세부 프로파일링](/engine/6000.0/manual/analysis/profiler/deep-profiling.md)을 사용하고 플레이 모드를 타겟으로 설정하면 `PlayerLoop`와 `EditorLoop`에서 발생하는 모든 호출에 성능에 영향을 미칩니다. 이는 딥 프로파일링이 도메인 재로드 시 스크립팅 메서드 호출의 시작과 끝에 연결되므로 어떤 부분이 `PlayerLoop`에서 호출되지 않는지 감지하지 않기 때문입니다. `EditorLoop`에서 발생하는 메서드 호출에는 샘플 생성에 대한 전체 오버헤드가 없지만, 샘플을 방출하는지 여전히 확인하여 오버헤드가 줄어듭니다.

## 에디터 샘플##editor-samples

[에디터 프로세스를 프로파일링할 때](/engine/6000.0/manual/analysis/profiler/profiling-applications/profiling-edit-mode.md) 이전에 `EditorLoop` 마커 아래에 숨겨진 모든 샘플이 해당 카테고리에 기여합니다. 즉, [CPU 프로파일러 모듈의 세부 정보 창](/engine/6000.0/manual/analysis/profiler/visualizing-data/cpu/cpu.md) 및 차트의 정보가 크게 변경됩니다.

Unity 에디터에서 [프로파일링할 때](/engine/6000.0/manual/analysis/profiler/profiling-applications/profiling-edit-mode.md)만 나타나는 특정 [프로파일러 마커](/engine/6000.0/manual/analysis/profiler/markers.md)가 있습니다. 이러한 마커는 플레이어 관련 활동에 나타나지 않으며, 에디터 활동과만 관련됩니다. 에디터 전용 마커에는 다음이 포함됩니다.

* null 컴포넌트 사용을 식별하는 데 도움이 되는 GetComponentNullErrorWrapper와 같은 보안 검사.
* CheckConsistency: 오브젝트 설정을 확인합니다.
* CheckAllowDestructionRecursive는 파괴 확인입니다.
* Prefab 관련 활동

기본적으로 [CPU 프로파일러 모듈의 **계층 구조** 뷰](/engine/6000.0/manual/analysis/profiler/visualizing-data/cpu/cpu.md)에서는 에디터 전용 마커가 있는 샘플 스택이 축소되고 이름이 `EditorOnly [SampleName]`입니다. 이러한 샘플 스택 또는 해당 자식 샘플은 가비지 컬렉션을 트리거할 수 있는 관리되는 할당을 일으킬 수 있지만, 축소되면 부모 샘플의 `GC.Alloc` 값에 기여하지 않습니다.

기본 동작을 변경하려면 모듈 세부 정보 창의 오른쪽 상단에서 컨텍스트 메뉴를 선택하고 [Collapse EditorOnly Samples](/engine/6000.0/manual/analysis/profiler/visualizing-data/cpu/cpu.md) 설정을 비활성화합니다. 이렇게 하면 샘플을 확장하고 해당 `GC.Alloc` 값을 둘러싸는 마커에 기여할 수 있습니다.

이 옵션은 **Timeline** 뷰에 영향을 주지 않으며 샘플과 해당 자식이 확장된 것처럼 보입니다. 이 마커를 사용하는 샘플은 일반적으로 에디터 전용 활동과 관련되어 관리되는 할당을 줄이는 데 영향을 미치지 않으므로 무시할 수 있습니다. 하지만 플레이 모드에서 성능에 상당한 영향을 미치는지 확인하는 데 유용할 수 있습니다.

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

* [재생 모드에서 퍼포먼스 데이터 수집](/engine/6000.0/manual/analysis/profiler/profiling-applications/profiling-play-mode.md)
* [Unity 에디터에 대한 퍼포먼스 데이터 수집](/engine/6000.0/manual/analysis/profiler/profiling-applications/profiling-edit-mode.md)
* [CPU 사용 프로파일러 모듈](/engine/6000.0/manual/analysis/profiler/visualizing-data/cpu/cpu.md)
* [프로파일러 마커 참조](/engine/6000.0/manual/analysis/profiler/markers.md)
