头条、番茄小说小游戏报错

  • Creator 版本:3.8.8

  • 目标平台:头条、番茄小说

  • 重现方式:必现

  • 首个报错: <TypeError: Cannot read properties of undefined
    (reading 'instantiate)
    at cocos-js/_virtual_cc-BsONEM7e.js:2:713597
    at tmg-core.js:29:50593
    at Wb (tmg-core.js:29:48740)>
    Aborted(no native wasm support detected)
    <TypeError: Cannot read properties of undefined
    (reading 'RuntimeError)
    at J (cocos-js/spine.wasm-C8wzGlg.js:1:1374)
    at cocos-js/spine.wasm-C8wzG.g.js:1:866
    at cocos-js/_virtual_cc-BsONEM7e.js:2:1795450
    at new Ew (tmg-core.js:29:51876)
    at cocos-js/_virtua_cc-BsONEM7e.js:2:1795366
    at tmg-core.js:29:50593
    at Wb (tmg-core.js:29:48740)>

  • 手机型号:Android、iOS

  • 重现概率:必现

抖音上运行正常,在头条、番茄小说上运行会报错:
<TypeError: Qgt.Skeletonlnstance is not a
constructor
at new e (cocos-js/_virtual_CC-
BsONEM7e.js:2:1810878)
at Bg (cocos-js/_virtual_CC-
BsONEM7e.js:2:327851)
at Ug (cocos-js/_virtual_cc-
BsONEM7e.js:2:328306)
at cocos-js/_virtual_cc-BsONEM7e.js:2:328217
at Bg (cocosjs/_virtual_cc-
BsONEM7e.js:2:327983)
at cocos-js/_virtual_cc-BsONEM7e.js:2:329575
at Xg (cocosjs/_virtual_cc-
BsONEM7e.js:2:329706)
at Jg (cocos-js/_virtual_cc-
BsONEM7e.js:2:331532)
at e.parselmport (cocos-js/_virtual_Cc-
BsONEM7e.js:2:448246)
at e.parse (cocos-js/_virtual_cc-
BsONEM7e.js:2:448608)>
Qgt.Skeletonlnstance is not a constructor
TypeError: Qgt.Skeletonlnstance is not a
constructor
at new e (cocos-js/_virtual_cc-
BsONEM7e.js:2:1810878)
at Bg (cocosjs/_virtual_cc-
BsONEM7e.js:2:327851)
FPS:90 Mem:187484 CPWiba:33%

找到问题img_v3_02vm_060ef44e-a60f-4985-8a84-9dede6f8564g 原生代码打包模式如果只选择Wasm,那么抖音就正常,其他番茄、头条就跑不起来。