@onready raise Error
未关闭
investigation
- 主要语言
- C++
- 星标
- 1.1k
- 派生
- 80
- PR 合并指标
- 30 天内没有已合并 PR
描述
The code is:
```
@onready("..")
parent: godot.Node;
```
and some errors were printed in console:
```
ERROR: object_method: Parameter "bind" is null. At: modules/ECMAScript/quickjs/quickjs_binder.cpp:146
ERROR: object_method: Parameter "bind" is null. At: modules/ECMAScript/quickjs/quickjs_binder.cpp:146
ERROR: object_method: Parameter "bind" is null. At: modules/ECMAScript/quickjs/quickjs_binder.cpp:146
```
What's wrong?
贡献指南
调研方向
复现带有 parent: godot.Node 的 @onready("..") 声明,并从 modules/ECMAScript/quickjs/quickjs_binder.cpp:146 开始,该位置是所报告的 null-bind 错误的起源。跟踪 annotation 和 Node 引用如何到达 QuickJS binder,然后使用一个最小的 Godot 场景验证其行为,并确定该声明是否受支持,或者是否需要使用不同的语法。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp, javascript, typescript
- 领域
- game-dev
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100