Configure diagnostic data collection in the Editor
Configure diagnostic data collection for your application in the Unity Editor.
読み終わるまでの所要時間 1 分最終更新 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.
Configure diagnostic data collection for your project
To configure diagnostics settings for your project, follow these steps:
- In the Unity Editor, select Edit > Project Settings.
- Under Services, select Diagnostics.
- 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:
- In the Unity Editor, select File > Build Profiles.
- In the Build Profiles window, select the build you want to edit.
- 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).