文档

​
​

Development

User Acquisition

Monetization

工业

Unity Cloud

Get Started

Asset Manager SDKs and services

Open Unity Dashboard

Unity Cloud

此页面不支持所选语言。
​
​
Unity Dashboard
  • Accounts
  • Organizations
  • Projects
  • Products
  • Billing
Developer Data
  • Introduction to the Developer Data Framework
  • Get started
    • Prerequisites
    • Configure Developer Data settings in the Dashboard
    • Configure diagnostic data collection in the Editor
    • Grant products access to your Developer Data
    • Add apps to your project
    • Google Analytics setup
    • Set up notifications for Diagnostics events
  • View Diagnostics for your project
  • Privacy and consent
Unity Asset Manager
  • What's new
  • Asset Manager web
  • Asset Store
  • Manage Assets in the Editor
  • Unity Version Control
  • Developer documentation
Unity Pipeline Automation
  • About
  • Get started
  • Pipelines
  • Automations
  • Monitor jobs
  1. Unity Cloud Documentation
  2. Developer Data framework

Configure diagnostic data collection in the Editor

Configure diagnostic data collection for your application in the Unity Editor.
阅读时间2 分钟
最后更新于 22 天前

Diagnostic 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 the 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 Diagnostics 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.

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • Configure diagnostic data collection for your project

    • Configure diagnostic data collection for builds


报告此页面的问题