gameSDKScriptError
Cannot read property 'onCanplay' of undefined;wx.createInnerAudioContext
TypeError: Cannot read property 'onCanplay' of undefined
at new Audio (http://127.0.0.1:32534/game/js/libs/weapp-adapter.js:994:22)
at HTMLDocument.createElement (http://127.0.0.1:32534/game/js/libs/weapp-adapter.js:822:12)
at Object.createAudioInstance (http://127.0.0.1:32534/game/__dev__/asdebug.js:1:57642)
at Object.invoke (http://127.0.0.1:32534/game/__dev__/asdebug.js:1:40348)
at Object.invoke (http://127.0.0.1:32534/game/__dev__/WAGame.js:4:4274)
at L (http://127.0.0.1:32534/game/__dev__/WAGame.js:5:27986)
at W (http://127.0.0.1:32534/game/__dev__/WAGame.js:5:28938)
at new e (http://127.0.0.1:32534/game/__dev__/WAGame.js:11:9539)
at Function.yf (http://127.0.0.1:32534/game/__dev__/WAGame.js:11:13318)
at Object.<anonymous> (http://127.0.0.1:32534/game/__dev__/WAGame.js:5:21845)(env: Windows,mg,1.05.2103262; lib: 2.2.5)
我也出现了 要怎么解决呢
gameSDKScriptError Cannot read property 'onCanplay' of undefined;wx.createInnerAudioContext TypeError: Cannot read property 'onCanplay' of undefined at new Audio (http://127.0.0.1:32534/game/js/libs/weapp-adapter.js:994:22) at HTMLDocument.createElement (http://127.0.0.1:32534/game/js/libs/weapp-adapter.js:822:12) at Object.createAudioInstance (http://127.0.0.1:32534/game/__dev__/asdebug.js:1:57642) at Object.invoke (http://127.0.0.1:32534/game/__dev__/asdebug.js:1:40348) at Object.invoke (http://127.0.0.1:32534/game/__dev__/WAGame.js:4:4274) at L (http://127.0.0.1:32534/game/__dev__/WAGame.js:5:27986) at W (http://127.0.0.1:32534/game/__dev__/WAGame.js:5:28938) at new e (http://127.0.0.1:32534/game/__dev__/WAGame.js:11:9539) at Function.yf (http://127.0.0.1:32534/game/__dev__/WAGame.js:11:13318) at Object.<anonymous> (http://127.0.0.1:32534/game/__dev__/WAGame.js:5:21845)(env: Windows,mg,1.05.2103262; lib: 2.2.5)
用云开发小游戏进去直接报这个错,把wechat_devtools_1.05.2103190_x64和wechat_devtools_1.05.2103262_x64这两个版本都有问题,有谁遇到过的
所有的小游戏日志第一条都这样,赶紧看看吧
小游戏没有dom的
原本好好的,现在全炸了,微信突然更新