Unity打包空包测试,抖音开发者工具报错
200 浏览2025年03月22日作者:shenxuzaier

已解决:工程配置-调试基础库问题,由于网络原因,其他库刷不出来,切换网络,刷出来后选择一个库即可



Unity版本:2022.3.14

ByteGame Develop Tools版本:3.0.269

TTSDK版本:6.2.7

抖音开发者工具版本:4.3.7


Unity场景就一个btn,一个text

尝试过使用其他版本的抖音开发者工具,4.3.3,4.3.0,都是一样的报错


message: "(0 , n.getStarkInnerApi)(...).onGameRecorderStateChanged is not a function"

stack: at dr(https://lf26-stark-cdn.bdgp.cc/obj/game-res-cn/ucmc/PublishServer/starkwebgl-pc/jscore/4.5.3/alpha_557bfe50_common_M557bfe5/index.3932a5.js:30:287548)

at ?(https://lf26-stark-cdn.bdgp.cc/obj/game-res-cn/ucmc/PublishServer/starkwebgl-pc/jscore/4.5.3/alpha_557bfe50_common_M557bfe5/index.3932a5.js:30:397961)

at ?(https://lf26-stark-cdn.bdgp.cc/obj/game-res-cn/ucmc/PublishServer/starkwebgl-pc/jscore/4.5.3/alpha_557bfe50_common_M557bfe5/index.3932a5.js:30:398178)

at ?(https://lf26-stark-cdn.bdgp.cc/obj/game-res-cn/ucmc/PublishServer/starkwebgl-pc/jscore/4.5.3/alpha_557bfe50_common_M557bfe5/index.3932a5.js:30:398182)

at ?(https://lf26-stark-cdn.bdgp.cc/obj/game-res-cn/ucmc/PublishServer/starkwebgl-pc/jscore/4.5.3/alpha_557bfe50_common_M557bfe5/index.3932a5.js:30:398186)


message: "at onShow callback function starkWebGLBundleInfos is not defined"

stack: at ?(https://lf26-stark-cdn.bdgp.cc/obj/game-res-cn/ucmc/PublishServer/starkwebgl-pc/jscore/4.5.3/alpha_557bfe50_common_M557bfe5/index.3932a5.js:30:208038)

at l(https://lf26-stark-cdn.bdgp.cc/obj/game-res-cn/ucmc/PublishServer/starkwebgl-pc/jscore/4.5.3/alpha_557bfe50_common_M557bfe5/index.3932a5.js:30:208493)

at nu.<anonymous>(https://lf26-stark-cdn.bdgp.cc/obj/game-res-cn/ucmc/PublishServer/starkwebgl-pc/jscore/4.5.3/alpha_557bfe50_common_M557bfe5/index.3932a5.js:30:286811)

at nu.<anonymous>(http://127.0.0.1:7045/core/base-3.43.0.12/tmg-core.js:1:323587)

at Ct(http://127.0.0.1:7045/core/base-3.43.0.12/tmg-core.js:1:9657)

at nu.t(http://127.0.0.1:7045/core/base-3.43.0.12/tmg-core.js:1:15561)

at nu.emit(http://127.0.0.1:7045/core/base-3.43.0.12/tmg-core.js:1:104458)

at nu.<anonymous>(http://127.0.0.1:7045/core/base-3.43.0.12/tmg-core.js:1:925227)

at nu.emit(http://127.0.0.1:7045/core/base-3.43.0.12/tmg-core.js:1:104517)

at Object.subscribeHandler(http://127.0.0.1:7045/core/base-3.43.0.12/tmg-core.js:1:148957)


最后一次编辑于 2025 年 03 月 26 日
共 10 条评论

相关问答

专题推荐

热门文章

热门问答