> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/creator/content-creator-zh/chang-jing-sdk7/tiao-shi/report-bug.md).

# 报告错误

如何报告错误，以便其被审查并修复

如果您在使用 Decentraland SDK 或 Creator Hub 中的场景编辑器时遇到任何错误或问题，请在我们的 GitHub 仓库中提交报告 [此处](https://github.com/decentraland/sdk/issues/new/choose).

## 报告错误之前

提交错误报告前，请确认以下事项：

* 请确保使用的是最新版本的 SDK，以防该问题已在较新的版本中修复。
* 请查阅您要使用的功能的文档，确认它应该按照您预期的方式运行，并且问题并非源于误解。
* 请排除问题由场景构建方式导致的可能性。请参阅 [在预览中调试](/creator/content-creator-zh/chang-jing-sdk7/tiao-shi/debug-in-preview.md) 和 [在生产环境中调试](/creator/content-creator-zh/chang-jing-sdk7/tiao-shi/debug-in-prod.md) 了解相关提示。
* 避免重复提交。请查看 [已知错误列表](https://github.com/orgs/decentraland/projects/20/views/13) 以免重复提交。如果您有补充信息要添加到现有问题，请在该问题下发表评论，而不是新建问题。

## 报告错误

要报告 SDK 错误，您需要拥有 GitHub 帐户。请按以下步骤操作：

1. 访问以下链接： [新建问题页面](https://github.com/decentraland/sdk/issues/new/choose)
2. 点击 **开始** 旁边的 **错误报告**. ![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-c06a9316c4b19a7b3a99cfbe2fea6254556ad434%2Freport-bug.webp?alt=media)
3. 填写模板中的所有字段。模板会为每个部分提供说明。您提供的细节越多，我们的开发人员就能越快地发现并解决问题。
4. 点击 **提交新问题**.

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-700e7b5565f1dd4dbafe1b1af5f90c8160b7cf3a%2Fsubmit-issue.webp?alt=media)

如果开发人员需要进一步说明或补充信息，可能会就您的问题单提出后续问题。错误报告有更新时，您会收到电子邮件通知。

{% hint style="warning" %}
**📔 注意**：对于与 SDK 无关的问题，请联系支持团队。如需联系支持团队，请访问此页面 [intercom.decentraland.org](https://intercom.decentraland.org/) 或发送邮件至 <hello@decentraland.org>。您也可以通过 [Discord](https://decentraland.org/discord/)联系我们。团队每周一至周日 UTC 时间中午 12 点至晚上 9 点提供帮助，并会尽力尽快回复。在上述时段内，您通常会在 Discord 上 60 分钟内收到回复，通过电子邮件则会在 24 小时内收到回复。

您也可以通过以下渠道联系 DAO 支持团队： [DAO Discord](https://discord.gg/bxHtcMxUs4).
{% endhint %}

**错误报告补充提示：**

* 每个错误单独创建一个问题。如果遇到多个问题，请为每个问题分别新建问题。
* 避免冗长的说明。仅在必要时提供相关的命令行或控制台输出，或场景代码。
* 如有可能，请附上图片或视频。您可以将它们直接拖放到问题文本框中，GitHub 会自动上传并添加链接。

## 使用 Decentraland Playground

提供能够演示问题的代码片段会非常有帮助。确保问题可复现至关重要。如果无法复现错误，就很难诊断和修复。

您可以将代码片段粘贴到问题内容中，但提供代码片段的最佳方式是使用 [Decentraland Playground](https://playground.decentraland.org/)。请按以下步骤操作：

1. 在左侧编写代码片段，并在右侧面板中查看场景。
2. 点击 **分享** 按钮，然后将链接粘贴到问题报告中。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-73cab83ebbdd2918f54678d965332b3b25a96c24%2Fplayground.webp?alt=media)

使用 Playground 可以简化问题复现流程，并确保任何打开链接的人都能看到相同的结果，无论其操作系统、SDK 版本、Node 版本等如何。它还有助于快速迭代，以确定受影响的条件并找出问题根源。

请尽可能精简示例，同时确保能够重现问题。更简单的示例有助于消除对问题来源的歧义。

{% hint style="warning" %}
**📔 注意**：无法在 Playground 中向场景导入资源。因此，如果重现问题需要导入 3D 模型或声音文件，就无法在此处展示。
{% endhint %}

## 获取日志

报告错误时，获取 Decentraland 浏览器的日志通常很有用。

要获取日志，只需打开聊天窗口并输入 `/logs`。这会打开一个新窗口，其中显示 Decentraland 浏览器的日志。请将 `Player.log` 文件附加到问题报告中。

## 编辑文档

如果您发现文档网站的内容有问题，可以提交修改请求。只需滚动到页面底部，然后点击 **编辑此页面** 按钮。GitHub 会引导您创建包含所做更改的拉取请求。基金会团队会审核您的更改，并在认为有帮助时予以发布。

## 功能请求与建议

如果您想建议添加新功能，而不是报告问题，请加入 [Decentraland Discord 服务器](https://dcl.gg/discord) 并在 [创作者中心频道](https://discord.com/channels/417796904760639509/1288888172318560326) 中发帖，而不是创建 GitHub Issue。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.decentraland.org/creator/content-creator-zh/chang-jing-sdk7/tiao-shi/report-bug.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
