vivominigame / issues

vivo小游戏问题反馈和统一回复入口
13 stars 9 forks source link

egret打包后出现大量的n.get is not a function错误,游戏正常运行 #212

Open a26636271 opened 4 years ago

a26636271 commented 4 years ago

游戏运行的时候会出现大量的以下错误,但是游戏可以正常运行部受影响

App Framework ### [error] __qg._onErrorOccurred called!

loaction: (see stack) message: Uncaught TypeError: n.get is not a function stack: [0]dispatchEvent@(no filename):8 [1]anonymous@(no filename):8 [2]success@(no filename):8 [3]n.(anonymous function).n@(no filename):8 [4]t.invokeCallback@(no filename):8 [5]t._execInvokeCallback.e@(no filename):8 n.(anonymous function).t @ VM11 (no filename):8 t.error.e @ VM11 (no filename):8 (anonymous) @ VM11 (no filename):8

VM11 (no filename):8 (see stack) Uncaught TypeError: n.get is not a function [0]dispatchEvent@(no filename):8 [1]anonymous@(no filename):8 [2]success@(no filename):8 [3]n.(anonymous function).n@(no filename):8 [4]t.invokeCallback@(no filename):8 [5]t._execInvokeCallback.e@(no filename):8

a26636271 commented 4 years ago

除了报错看起来比较难受外,游戏逻辑正常运行,微信小游戏版本同一份代码也正常运行

LiuYuNan01 commented 3 years ago

兄弟 解决了吗 我也出现了类似的问题 h5微信都没问题 vivo这边闪退率比较高

a26636271 commented 3 years ago

游戏中用的类名定义和vivo底层的名字一样导致,检查一下自己函数的命名是不是很常见

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: LiuYuNan01 <notifications@github.com> 发送时间: 2021年1月31日 16:01 收件人: vivominigame/issues <issues@noreply.github.com> 抄送: a26636271 <a26636271@qq.com>, Author <author@noreply.github.com> 主题: 回复:[vivominigame/issues] egret打包后出现大量的n.get is not a function错误,游戏正常运行 (#212)

兄弟 解决了吗 我也出现了类似的问题 h5微信都没问题 vivo这边闪退率比较高

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

a26636271 commented 3 years ago

我微信tonycmg

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: LiuYuNan01 <notifications@github.com> 发送时间: 2021年1月31日 16:01 收件人: vivominigame/issues <issues@noreply.github.com> 抄送: a26636271 <a26636271@qq.com>, Author <author@noreply.github.com> 主题: 回复:[vivominigame/issues] egret打包后出现大量的n.get is not a function错误,游戏正常运行 (#212)

兄弟 解决了吗 我也出现了类似的问题 h5微信都没问题 vivo这边闪退率比较高

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.