同样的,视频现在关闭也能穿透后面
微信小游戏PC端createGameClubButton穿透并且把这个按钮所在Canvas层事件错传https://developers.weixin.qq.com/minigame/dev/api/open-api/game-club/wx.createGameClubButton.html 在微信PC端小游戏会出现这种情况,基础版本库按照你提是的找不到
07-26[图片] WebAudioContext.createGain() 创建的是空
t.connect is not a function.最近IOS播放按键音报错,怎么回事?t.connect is not a function. (In \'t.connect(ud.destination)\', \'t.connect\' is undefined) Jd Ip d bh src https://lib/WAGameSubContext.js:1:177044 value@https://usr/game.js:3046:12953 value@https://usr/game.js:3046:12353 value@https://usr/game.js:11:420677 p4@https://usr/game.js:249:456 GN@https://usr/game.js:140:403 调用Laya的播放按键音url = "res/ui/Basics_o4lt7w-4614b949df.wav" Laya.SoundManager.playSound(url);报错了 [图片] 越来越多了,呜呜呜
2023-12-04[图片]
Cannot read properties of undefined reading ErrorCannot read properties of undefined (reading \'Error\') TypeError: Cannot read properties of undefined (reading \'Error\') at $c (WAGame.js:1:722333) at Zc.offError (WAGame.js:1:726956) at Zc.u (WAGame.js:1:1106332) at p (WAGame.js:1:162898) at WAGame.js:1:163341 at c.n (WAGame.js:1:716880) at c.emit (WAGame.js:1:414590) at Oc.Mc (WAGame.js:1:717208) at Function.fail (WAGame.js:1:715924) at p (WAGame.js:1:162898) 和 Cannot read properties of undefined (reading \'then\') TypeError: Cannot read properties of undefined (reading \'then\') at Zc.play (WAGame.js:1:726092) at Zc.u (WAGame.js:1:1106332) at p (WAGame.js:1:162898) at c.<anonymous> (WAGame.js:1:163341) at c.emit (WAGame.js:1:414942) at Object.emitGlobal (WAGame.js:1:411744) at m (WAGame.js:1:595672) at Function.<anonymous> (WAGame.js:1:596320) at p (WAGame.js:1:162898) at WAGame.js:1:163341 还有 Cannot read properties of undefined (reading \'condition\') TypeError: Cannot read properties of undefined (reading \'condition\') at sw.L_ (https://lib/WAAd.js:1:600614) at sw.T_ (https://lib/WAAd.js:1:597932) at h.emit (https://lib/WAAd.js:1:6823) at Mf.emit (https://lib/WAAd.js:1:448566) at ib.handleTouchEndForSlide (https://lib/WAAd.js:1:675104) at c.handleTouchEnd (https://lib/WAAd.js:1:674078) 等等,最近安卓新版本好多这些报错
2023-01-17最近很多 Can\'t find variable: WeixinJSBridge 和 Can't find variable: canvasSet
基础库报错?line:0,column:0,ReferenceError: Can\'t find variable: WeixinJSBridge Stack:[图片]
2022-10-19Cannot read properties of undefined (reading \'createRewardedVideoAd\') TypeError: Cannot read properties of undefined (reading \'createRewardedVideoAd\') at https://lib/WAGame.js:1:780500 at RI (https://lib/WAGame.js:1:780504) at Object.<anonymous> (https://lib/WAGame.js:1:780666) at Object.<anonymous> (https://lib/WAGame.js:1:1150216) 19好开始开始只有几个,这几天越来越多 8.0.28 1216 98.06% 其它 20 1.61% 8.0.27 4 0.32%
createRewardedVideoAd报错Cannot read properties of undefined (reading \'createRewardedVideoAd\') 9月19号之前线上有少量报错,20号之后出现数量就多了。新版本对于看视频接口是要加额外的保护逻辑吗
2022-09-23楼主解决了么,也碰到了这种问题
正式版才会出现的bug,游戏界面被拉伸,点击错位大部分安卓机型,如红米9A,红米k30pro,华为荣耀Note10,vivo X21i,华为nova7。 微信已经都更新到最新版本。 这些设备都是我从用户反馈里查到的。之前用户老是描述按键错位并且截图给我,能看到画面被拉伸了。 首先搜索细菌消消乐,最强队伍,俄罗斯方块消消消等几乎所有cocos游戏。 打开后点右上角的3个小点,然后点重新进入小程序,这个时候一定是对的,因为只要点重新进入小程序,就一定不会出现这个bug,这时候你可以截图存下界面。然后用安卓系统杀掉小游戏的页面,然后进入微信再进入这个小游戏,这时候画面大概率就会被拉伸,同时点击事件错位,如果没有就多试几次,复现概率很高,可以再截图与之前的截图进行比对。 我这里只是容易复现出画面被拉伸同时点击事件错位的一种方式,实际上只要用户进入小游戏,就很有可能出现这个bug。 我后台已经有上百个用户反馈这个bug了。因为画面拉伸比较小不容易被发现,都是提到按键错位。
2022-07-25我也遇到了类似的问题,wx.getFileSystemManager().statSync查不到文件 安卓和开发工具都是正常的,ios失败 倒是readFileSync可以读取正常了
FileSystemManager真机加载代码包文件失败-功能需求: 通过FileSystemManager接口加载代码包文件, -数据和代码 在应用根目录下有data文件夹,文件夹中有t1.txt文本文件,用下面的代码加载: const fs = wx.getFileSystemManager(); var buffer = fs.readFileSync("data/t1.txt"); console.log("Data =", typeof (buffer),"=",buffer); - 当前 Bug 的表现 开发工具中正常, iOS调试时错误日志: Error: readFileSync:fail file info not exit at readFileSync ([publib]:1:432687) at Object.e.(anonymous function) [as readFileSync] ([publib]:1:438711)
2019-03-20我这边是安卓不显示,ios显示。 安卓版本6.7.2 都是最新版本,使用的是本地图片 后来改成网络图片就好了,o(╥﹏╥)o
createUserInfoButton 按键不显示了getUserInfo() { return new Promise((resolve, reject) => { wx.getUserInfo({ withCredentials: true, success: function (res) { var userInfo = res.userInfo var nickName = userInfo.nickName var avatarUrl = userInfo.avatarUrl var gender = userInfo.gender //性别 0:未知、1:男、2:女 var province = userInfo.province var city = userInfo.city var country = userInfo.country resolve(userInfo); }, fail:function(res){ console.log("需要授权"); let button = wx.createUserInfoButton({ type: 'text', text: '获取用户信息', style: { left: 10, top: 76, width: 200, height: 40, lineHeight: 40, backgroundColor: '#ff0000', color: '#ffffff', textAlign: 'center', fontSize: 16, borderRadius: 4 } }) button.onTap((res)=> { console.log(res) }) } }) }) } -------------------------------------------- 更新完新版本后,不显示授权按键了。。。。。。。。 ------------
2018-09-25