기술 자료

Configure diagnostic data collection in the Editor

Configure diagnostic data collection for your application in the Unity Editor.
읽는 시간 1분최근 업데이트: 하루 전

Diagnostics data is one type of Developer Data that Unity collects on your behalf under the Developer Data framework. To enable or disable diagnostic data collection for your Unity project, configure the diagnostics settings at a project level or for specific build targets. After you configure data collection in the Editor, you can further define which data is collected and how it’s used in the Unity Dashboard. For more information, refer to Configure Developer Data settings in the Dashboard.
경고
If you disable diagnostic data collection in the Editor, Unity stops collecting all diagnostic data from your project. Missing diagnostic data can impact the performance and behavior of Unity services that rely on it.Disabling diagnostics data collection doesn't affect Developer Data collected through other Unity products you use or that are linked through the Unity Dashboard.

Configure diagnostic data collection for your project

To configure diagnostics settings for your project, follow these steps:
  1. In the Unity Editor, select Edit > Project Settings.
  2. Under Services, select Diagnostics.
  3. Under Build Setting Default, set Diagnostics Data to Enabled.
All builds for your project use the value of this setting by default. You can override this value for specific builds in the Build Profiles window.

Configure diagnostic data collection for builds

You can configure diagnostic data collection for specific builds in the Editor. These settings don't affect other types of Developer Data collected through other Unity products or services you use. To override project-wide diagnostic data collection settings for a specific build, follow these steps:
  1. In the Unity Editor, select File > Build Profiles.
  2. In the Build Profiles window, select the build you want to edit.
  3. Under Diagnostics, set Diagnostics Data to Enabled or Disabled.
After you configure your diagnostic data settings, your build profile is updated to override the default project settings. To revert to the default value from Project Settings, set Diagnostics Data to Enabled (Project Default).
참고
If you duplicate a build profile that overrides your default project settings, the duplicated build profile inherits your customized settings. Any other new build profiles you add continue to use the default value set in Project Settings.