Some errors do not get caught and raised in exported builds

未关闭
#1,460 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
godot

调研方向

The report names the lesson file res://course/lesson-10-the-game-loop/lesson.bbcode and the practice code that removes the delta parameter from func _process. Start by comparing how the checker handles that code in the editor and in a web export, and read issue #1443, which may share the cause. Done means a missing parameter in an exported build fails the check the same way it does locally.

由索引模型根据 Issue 内容生成。

描述

A user reported this: I tested locally before I export and after I export this specific error of the parameter not being defined does not happen, the function doesn't run but no error is raised. May be related to #1443, although in this case at runtime there are no errors at all in the console, both in the web console and in the terminal when running a desktop build from a shell.

L10 P2, I removed "delta" from func _process(delta): (the function) so it just read func _process():
The character did not move but the check believed it did and marked it as a pass. I checked the solution and found my mistake.

Technical information:

Code from the current practice

func _process(delta):
	rotate(0.05)
	move_local_x(5)
主要语言
GDScript
星标
2.8k
派生
239
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

GDQuest/learn-gdscript 的其他 Issue

查看 GDQuest/learn-gdscript 的全部 Issue

相似的 Issue

更多 DevTools Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。