Unity小游戏在抖音开发者工具上经常报错
262 浏览2026年02月25日作者:cctvlhx

我用的是国际版 Unity 2022.3.62f3

有时候退出开发者工具重新进没有这个报错,有时候又会出现这个报错,而且出现的频率很高

报错信息:

tmg-core.js:2 [TMG] USER_RESOLVE_MODULE_ERROR: Can't find module __plugin__tt674511f8f84ea91612/index.js

at ?(USER_RESOLVE_MODULE_ERROR: Can't find module __plugin__tt674511f8f84ea91612/index.js)

at resolve(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:709112)

at a(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:713663)

at i(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:713699)

at Object.gde(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:1528781)

at main(game.js:115:24)

at ?(eval (game.js:208:1)

at ?(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:710347)

at a(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:713662)

at i(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:713699)

at Object.eval(game.js:211:1)


还有时候报另一个错:

tmg-core.js:2 [TMG] undefined: [UnityPlugin] download error: read data error, API_ERROR: readFileSync:fail no such file or directory, readFileSync data-package/bf62aca50e37613d.webgl.data.unityweb.bin

at ?(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:1540275)

at Generator.<anonymous>(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:46396)

at Generator.next(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:47240)

at wi(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:43118)

at i(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:43321)

at ?(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:43382)

at new Promise(<anonymous>)

at ?(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:43262)

at Object.implement(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:1540357)

at ?(http://127.0.0.1:7044/core/4.0.0.4/tmg-core.js:2:506607)


game.js? [sm]:138 [UnityPlugin] download error: read data error, API_ERROR: readFileSync:fail no such file or directory, readFileSync data-package/bf62aca50e37613d.webgl.data.unityweb.bin

最后一次编辑于 2026 年 02 月 25 日
共 6 条评论

相关问答

专题推荐

热门文章

热门问答