Some errors do not get caught and raised in exported builds
还没有人认领这个 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:
- Location: L10.P2 - The Game Loop > Creating Circular Movement
- File: res://course/lesson-10-the-game-loop/lesson.bbcode
- Platform: Web
- URL: https://gdquest.github.io/learn-gdscript/?ref=godot-docs#the-game-loop/creating-circular-movement
- Commit: e4b7396
- Language: English (en)
Code from the current practice
func _process(delta): rotate(0.05) move_local_x(5)
- 主要语言
- GDScript
- 星标
- 2.8k
- 派生
- 239
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
GDQuest/learn-gdscript 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
GDQuest/learn-gdscript#1462 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
GDQuest/learn-gdscript#1455 ·
-
难度 2/5 1-3 小时 新手友好度 66/100
GDQuest/learn-gdscript#1446 ·
-
user experience
难度 2/5 1-3 小时 新手友好度 64/100
GDQuest/learn-gdscript#1420 ·
-
难度 3/5 1-2 天 新手友好度 48/100
GDQuest/learn-gdscript#1461 · 1 条评论 ·
查看 GDQuest/learn-gdscript 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
No-op PreToolUse:Bash hook (bash_hook.py) still registered synchronously; adds latency and can time out at 10 s可能已有人在做 @alexgr-agent 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
alexgreensh/token-optimizer#313 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
richardcase/skills#29 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
-
Type: Bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复