Worker not work on platform android
未关闭
investigation
- 主要语言
- C++
- 星标
- 1.1k
- 派生
- 80
- PR 合并指标
- 30 天内没有已合并 PR
描述
this new Worker("res://egg-client-godot/EggThread.js") work when i run in godot edit run button,but when i deploy on andoird not work。
the error is modules\ECMAScript\quickjs\quickjs_worker.cpp:52:thread_main() - Failed to load entry script:res://egg-client-godot/EggThread.js , i found the eggthread.js compiled to eggthread.jsb on android。so i change .js to jsb
new Worker("res://egg-client-godot/EggThread.jsb") but not work too。
贡献指南
调研方向
使用 res://egg-client-godot/EggThread.js 和生成的 .jsb 文件,在 Godot 编辑器和 Android 上复现 Worker 行为。从 modules/ECMAScript/quickjs/quickjs_worker.cpp:52 开始,追踪 Android 导出无法加载入口脚本的原因;当 Worker 在 Android 上成功加载时即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android, cpp, godot, javascript
- 领域
- game-dev, mobile-dev
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100