怀疑是vss爆掉了,尝试关掉调试看下会不会有这个问题?
微信小游戏不定时黑屏小游戏ID: wx14f777b879e582c4, 已发布体验版。 测试那边多种机型都测试出游戏黑屏问题,微信的版本都是最新的7.0.8,黑屏位置都出现在游戏的3D部分。 只有游戏时间较长时才会出现黑屏,大概二十分钟左右,出现黑屏时没发现报错。 上面MI 9的机型黑屏的概率最高。几乎每次进入游戏玩个十几分钟就会黑屏。 用这款MI9测试发布到QQ平台的体验版也有黑屏现象,但是黑屏概率极低,微信平台要高得多。之前已发布到百度,头条的版本未出现黑屏问题。
2019-11-186.7.3 版本比较老了,占比不大。不过还是建议检查下beginPath的参数个数是否和H5对应。老版本的逻辑如果参数个数不匹配的话是会直接抛error的,新版本会兼容,比如接口只接收3个参数,你传了4个,老版本会抛error,新版本就直接用前3个。本质上还是逻辑问题,建议检查下beginPath的参数传入
请问微信上报的这个错误是什么原因导致的?在微信后台看到上报了这个错误,微信客户端版本是v6.7.3,错误日志: argument count does not match function definition(beginPath);at requestAnimationFrame callback function 请问这个错误是什么原因?我猜测是低版本针对部分API不兼容,那该如何解决,并且这个错误会影响用户的游戏进程吗?
2019-11-06提供下appid,我们看下,感谢
小游戏 在开发者工具和真机调试都可以正常运行,安卓预览就一直卡在100%进不去是为什么?调试库 :2.9.1 开发者工具: 当前最新版本(1.02.1911042) cocos creator:2.1.2 小游戏在不校验域名的情况下, 在开发者工具和真机调试都可以正常运行,用安卓机预览就一直卡在100%进不去,点击右上角的三个点点也没有反应,苹果的就可以 ,这是为什么? 是需要配置好域名吗?
2019-11-05这里应该是启动阶段js crash了,或者没有drawcall。请使用内测版本打开开发版试试,如果有js crash堆栈,会弹出toast展示。内测申请链接:https://support.weixin.qq.com/cgi-bin/mmsupport-bin/readtemplate?t=page/android_exp__index&clientversion=&exportkey=AfFVa4iRU1Zlx59eFp4VSo4%3D&pass_ticket=3tKNq5pPmB%2Bk%2FSz56VAysqg%2FU4haEM9jlXp9efZWHX1TNTpZdYvZmPOgt2u%2B8C3r&wechat_real_lang=en
cocos creator导出的小游戏在ios上可以正常运行,android上加载到100%无法运行如题,cocos creator导出的单机小游戏,上传体验版后,ios手机可以正常运行,anroid手机加载到100%后无法运行
2019-10-28fail 的时候返回的错误信息是什么?
分包加载失败loadSubpackage时调到了fail回调函数,说明分包加载失败,以下是我们后台统计的,加载出错的 wx.getSystemInfoSync()相关信息{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":100,"version":"6.7.1","system":"iOS 12.1.4","windowHeight":667,"pixelRatio":2,"screenHeight":667,"language":"zh_CN","statusBarHeight":20,"windowWidth":375,"model":"iPhone 6<iPhone7,2>","screenWidth":375,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.2.4","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":22,"version":"6.6.7","system":"iOS 12.4.2","windowHeight":568,"pixelRatio":2,"screenHeight":568,"language":"zh_CN","statusBarHeight":20,"windowWidth":320,"model":"iPhone 5s (GSM)<iPhone6,1>","screenWidth":320,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.1.3","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":34,"version":"6.6.7","system":"iOS 12.4.2","windowHeight":568,"pixelRatio":2,"screenHeight":568,"language":"zh_CN","statusBarHeight":20,"windowWidth":320,"model":"iPhone 5s (GSM)<iPhone6,1>","screenWidth":320,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.1.3","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":41,"version":"6.6.7","system":"iOS 12.4.2","windowHeight":568,"pixelRatio":2,"screenHeight":568,"language":"zh_CN","statusBarHeight":20,"windowWidth":320,"model":"iPhone 5s (GSM)<iPhone6,1>","screenWidth":320,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.1.3","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":42,"version":"6.6.7","system":"iOS 12.4.2","windowHeight":568,"pixelRatio":2,"screenHeight":568,"language":"zh_CN","statusBarHeight":20,"windowWidth":320,"model":"iPhone 5s (GSM)<iPhone6,1>","screenWidth":320,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.1.3","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":45,"version":"6.6.7","system":"iOS 12.4.2","windowHeight":568,"pixelRatio":2,"screenHeight":568,"language":"zh_CN","statusBarHeight":20,"windowWidth":320,"model":"iPhone 5s (GSM)<iPhone6,1>","screenWidth":320,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.1.3","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":7,"version":"6.7.0","system":"iOS 12.3.1","windowHeight":667,"pixelRatio":2,"screenHeight":667,"language":"zh_CN","statusBarHeight":20,"windowWidth":375,"model":"iPhone 6s<iPhone8,1>","screenWidth":375,"fontSizeSetting":26,"brand":"iPhone","platform":"ios","SDKVersion":"2.2.4","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":70,"version":"6.7.0","system":"iOS 12.4.1","windowHeight":736,"pixelRatio":3,"screenHeight":736,"language":"zh_CN","statusBarHeight":20,"windowWidth":414,"model":"iPhone 6 Plus<iPhone7,1>","screenWidth":414,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.2.4","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":72,"version":"6.7.0","system":"iOS 12.4.1","windowHeight":736,"pixelRatio":3,"screenHeight":736,"language":"zh_CN","statusBarHeight":20,"windowWidth":414,"model":"iPhone 6 Plus<iPhone7,1>","screenWidth":414,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.2.4","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":8,"version":"6.7.0","system":"iOS 12.3.1","windowHeight":667,"pixelRatio":2,"screenHeight":667,"language":"zh_CN","statusBarHeight":20,"windowWidth":375,"model":"iPhone 6s<iPhone8,1>","screenWidth":375,"fontSizeSetting":26,"brand":"iPhone","platform":"ios","SDKVersion":"2.2.4","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":82,"version":"6.7.0","system":"iOS 12.4.1","windowHeight":736,"pixelRatio":3,"screenHeight":736,"language":"zh_CN","statusBarHeight":20,"windowWidth":414,"model":"iPhone 6 Plus<iPhone7,1>","screenWidth":414,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.2.4","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":83,"version":"6.7.0","system":"iOS 12.4.1","windowHeight":736,"pixelRatio":3,"screenHeight":736,"language":"zh_CN","statusBarHeight":20,"windowWidth":414,"model":"iPhone 6 Plus<iPhone7,1>","screenWidth":414,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.2.4","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":84,"version":"6.7.1","system":"iOS 12.4.1","windowHeight":667,"pixelRatio":2,"screenHeight":667,"language":"en","statusBarHeight":20,"windowWidth":375,"model":"iPhone 7<iPhone9,1>","screenWidth":375,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.2.4","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":85,"version":"6.7.0","system":"iOS 12.4.1","windowHeight":736,"pixelRatio":3,"screenHeight":736,"language":"zh_CN","statusBarHeight":20,"windowWidth":414,"model":"iPhone 6 Plus<iPhone7,1>","screenWidth":414,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.2.4","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":89,"version":"6.7.1","system":"iOS 12.4.1","windowHeight":736,"pixelRatio":3,"screenHeight":736,"language":"zh_CN","statusBarHeight":20,"windowWidth":414,"model":"iPhone 8 Plus (GSM+CDMA)<iPhone10,2>","screenWidth":414,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.2.4","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":96,"version":"6.7.0","system":"iOS 12.4.1","windowHeight":736,"pixelRatio":3,"screenHeight":736,"language":"zh_CN","statusBarHeight":20,"windowWidth":414,"model":"iPhone 6 Plus<iPhone7,1>","screenWidth":414,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.2.4","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"batteryLevel":98,"version":"6.7.0","system":"iOS 12.4.1","windowHeight":736,"pixelRatio":3,"screenHeight":736,"language":"zh_CN","statusBarHeight":20,"windowWidth":414,"model":"iPhone 6 Plus<iPhone7,1>","screenWidth":414,"fontSizeSetting":16,"brand":"iPhone","platform":"ios","SDKVersion":"2.2.4","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":false,"screenWidth":360,"benchmarkLevel":-1,"screenHeight":720,"windowHeight":720,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.6","cameraAuthorized":true,"system":"Android 8.1.0","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":2,"notificationAuthorized":true,"model":"vivo Y71A","statusBarHeight":24,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":0,"left":0,"bottom":720,"height":720},"brand":"vivo","windowWidth":360,"platform":"android","SDKVersion":"2.8.3","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":false,"screenWidth":360,"benchmarkLevel":-1,"screenHeight":720,"windowHeight":720,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.7","cameraAuthorized":true,"system":"Android 8.0.0","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":2,"notificationAuthorized":true,"model":"AUM-AL00","statusBarHeight":24,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":0,"left":0,"bottom":720,"height":720},"brand":"HONOR","windowWidth":360,"screenTop":0,"platform":"android","SDKVersion":"2.9.1","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":false,"screenWidth":360,"benchmarkLevel":-1,"screenHeight":760,"windowHeight":760,"bluetoothEnabled":true,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.5","cameraAuthorized":true,"system":"Android 8.1.0","fontSizeSetting":16,"locationAuthorized":false,"pixelRatio":2,"notificationAuthorized":true,"model":"vivo 1820","statusBarHeight":32,"deviceOrientation":"portrait","wifiEnabled":false,"safeArea":{"width":360,"right":360,"top":32,"left":0,"bottom":760,"height":728},"brand":"vivo","windowWidth":360,"platform":"android","SDKVersion":"2.8.3","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":false,"screenWidth":360,"benchmarkLevel":9,"screenHeight":640,"windowHeight":640,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.7","cameraAuthorized":true,"system":"Android 8.0.0","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":3,"notificationAuthorized":true,"model":"SM-G9350","statusBarHeight":24,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":0,"left":0,"bottom":640,"height":640},"brand":"samsung","windowWidth":360,"screenTop":0,"platform":"android","SDKVersion":"2.9.0","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":false,"screenWidth":393,"benchmarkLevel":-1,"screenHeight":785,"windowHeight":785,"bluetoothEnabled":true,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.7","cameraAuthorized":true,"system":"Android 9","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":2.75,"notificationAuthorized":true,"model":"MI 8","statusBarHeight":33,"deviceOrientation":"portrait","wifiEnabled":false,"safeArea":{"width":393,"right":393,"top":33,"left":0,"bottom":785,"height":752},"brand":"Xiaomi","windowWidth":393,"screenTop":0,"platform":"android","SDKVersion":"2.9.1","devicePixelRatio":2.75}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":false,"statusBarHeight":18,"screenTop":0,"notificationAuthorized":false,"benchmarkLevel":5,"cameraAuthorized":true,"windowWidth":360,"screenHeight":640,"version":"7.0.7","fontSizeSetting":16,"microphoneAuthorized":true,"screenWidth":360,"pixelRatio":3,"system":"Android 6.0.1","safeArea":{"height":640,"width":360,"bottom":640,"top":0,"left":0,"right":360},"deviceOrientation":"portrait","bluetoothEnabled":false,"brand":"OPPO","language":"zh_CN","locationAuthorized":true,"wifiEnabled":false,"windowHeight":640,"model":"OPPO R9s Plus","platform":"android","SDKVersion":"2.9.0","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":false,"statusBarHeight":24,"notificationAuthorized":true,"benchmarkLevel":5,"cameraAuthorized":true,"windowWidth":360,"screenHeight":640,"version":"7.0.6","fontSizeSetting":16,"microphoneAuthorized":true,"screenWidth":360,"pixelRatio":2,"system":"Android 6.0","safeArea":{"height":640,"width":360,"bottom":640,"top":0,"left":0,"right":360},"deviceOrientation":"portrait","bluetoothEnabled":false,"brand":"GIONEE","language":"zh_CN","locationAuthorized":true,"wifiEnabled":false,"windowHeight":640,"model":"F100L","platform":"android","SDKVersion":"2.8.3","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":false,"statusBarHeight":24,"screenTop":0,"notificationAuthorized":true,"benchmarkLevel":15,"cameraAuthorized":true,"windowWidth":412,"screenHeight":732,"version":"7.0.7","fontSizeSetting":16,"microphoneAuthorized":true,"screenWidth":412,"pixelRatio":3.5,"system":"Android 6.0.1","safeArea":{"height":732,"width":412,"bottom":732,"top":0,"left":0,"right":412},"deviceOrientation":"portrait","bluetoothEnabled":true,"brand":"LeEco","language":"zh_CN","locationAuthorized":true,"wifiEnabled":false,"windowHeight":732,"model":"Le X820","platform":"android","SDKVersion":"2.9.1","devicePixelRatio":3.5}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":true,"screenWidth":360,"benchmarkLevel":-1,"screenHeight":720,"windowHeight":720,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.4","cameraAuthorized":true,"system":"Android 8.1.0","fontSizeSetting":18,"locationAuthorized":true,"pixelRatio":2,"notificationAuthorized":true,"model":"DRA-AL00","statusBarHeight":24,"deviceOrientation":"portrait","wifiEnabled":false,"safeArea":{"width":360,"right":360,"top":0,"left":0,"bottom":720,"height":720},"brand":"HUAWEI","windowWidth":360,"platform":"android","SDKVersion":"2.7.7","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":true,"screenWidth":360,"benchmarkLevel":-1,"screenHeight":720,"windowHeight":720,"bluetoothEnabled":true,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.7","cameraAuthorized":true,"system":"Android 8.1.0","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":2,"notificationAuthorized":true,"model":"vivo Y71A","statusBarHeight":24,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":0,"left":0,"bottom":720,"height":720},"brand":"vivo","windowWidth":360,"screenTop":0,"platform":"android","SDKVersion":"2.9.1","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":true,"screenWidth":360,"benchmarkLevel":-1,"screenHeight":760,"windowHeight":760,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.7","cameraAuthorized":true,"system":"Android 8.1.0","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":2,"notificationAuthorized":true,"model":"PBAT00","statusBarHeight":27,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":27,"left":0,"bottom":760,"height":733},"brand":"OPPO","windowWidth":360,"screenTop":0,"platform":"android","SDKVersion":"2.9.1","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":true,"screenWidth":360,"benchmarkLevel":-1,"screenHeight":760,"windowHeight":760,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.7","cameraAuthorized":true,"system":"Android 8.1.0","fontSizeSetting":17,"locationAuthorized":true,"pixelRatio":2,"notificationAuthorized":true,"model":"V1732T","statusBarHeight":32,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":32,"left":0,"bottom":760,"height":728},"brand":"vivo","windowWidth":360,"screenTop":0,"platform":"android","SDKVersion":"2.9.1","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":true,"screenWidth":360,"benchmarkLevel":-1,"screenHeight":760,"windowHeight":760,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.7","cameraAuthorized":true,"system":"Android 8.1.0","fontSizeSetting":18,"locationAuthorized":true,"pixelRatio":3,"notificationAuthorized":true,"model":"vivo Y85A","statusBarHeight":28,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":28,"left":0,"bottom":760,"height":732},"brand":"vivo","windowWidth":360,"screenTop":0,"platform":"android","SDKVersion":"2.9.0","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":true,"screenWidth":360,"benchmarkLevel":-1,"screenHeight":780,"windowHeight":780,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.7","cameraAuthorized":true,"system":"Android 9","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":3,"notificationAuthorized":true,"model":"V1816A","statusBarHeight":28,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":28,"left":0,"bottom":780,"height":752},"brand":"vivo","windowWidth":360,"screenTop":0,"platform":"android","SDKVersion":"2.9.1","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":true,"screenWidth":360,"benchmarkLevel":-1,"screenHeight":780,"windowHeight":780,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.7","cameraAuthorized":true,"system":"Android 9","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":3,"notificationAuthorized":true,"model":"V1816T","statusBarHeight":28,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":28,"left":0,"bottom":780,"height":752},"brand":"vivo","windowWidth":360,"screenTop":0,"platform":"android","SDKVersion":"2.9.1","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":true,"screenWidth":360,"benchmarkLevel":-1,"screenHeight":780,"windowHeight":780,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.7","cameraAuthorized":true,"system":"Android 9","fontSizeSetting":17,"locationAuthorized":true,"pixelRatio":3,"notificationAuthorized":true,"model":"COR-AL00","statusBarHeight":30,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":30,"left":0,"bottom":780,"height":750},"brand":"HONOR","windowWidth":360,"screenTop":0,"platform":"android","SDKVersion":"2.9.0","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":true,"screenWidth":360,"benchmarkLevel":10,"screenHeight":640,"windowHeight":640,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.7","cameraAuthorized":true,"system":"Android 8.1.0","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":3,"notificationAuthorized":true,"model":"vivo X9s Plus","statusBarHeight":24,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":0,"left":0,"bottom":640,"height":640},"brand":"vivo","windowWidth":360,"screenTop":0,"platform":"android","SDKVersion":"2.8.1","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":true,"screenWidth":360,"benchmarkLevel":11,"screenHeight":640,"windowHeight":640,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.7","cameraAuthorized":true,"system":"Android 8.0.0","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":3,"notificationAuthorized":true,"model":"EVA-AL10","statusBarHeight":24,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":0,"left":0,"bottom":640,"height":640},"brand":"HUAWEI","windowWidth":360,"screenTop":0,"platform":"android","SDKVersion":"2.9.1","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":true,"screenWidth":360,"benchmarkLevel":8,"screenHeight":720,"windowHeight":720,"bluetoothEnabled":false,"language":"zh_CN","microphoneAuthorized":true,"version":"7.0.7","cameraAuthorized":true,"system":"Android 8.0.0","fontSizeSetting":17,"locationAuthorized":true,"pixelRatio":3,"notificationAuthorized":true,"model":"LLD-AL10","statusBarHeight":24,"deviceOrientation":"portrait","wifiEnabled":true,"safeArea":{"width":360,"right":360,"top":0,"left":0,"bottom":720,"height":720},"brand":"HONOR","windowWidth":360,"screenTop":0,"platform":"android","SDKVersion":"2.9.1","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"locationEnabled":true,"statusBarHeight":24,"notificationAuthorized":true,"benchmarkLevel":8,"cameraAuthorized":true,"windowWidth":360,"screenHeight":640,"version":"7.0.4","fontSizeSetting":16,"microphoneAuthorized":true,"screenWidth":360,"pixelRatio":3,"system":"Android 6.0","safeArea":{"height":640,"width":360,"bottom":640,"top":0,"left":0,"right":360},"deviceOrientation":"portrait","bluetoothEnabled":true,"brand":"Huawei","language":"zh_CN","locationAuthorized":true,"wifiEnabled":false,"windowHeight":640,"model":"HUAWEI MT7-CL00","platform":"android","SDKVersion":"2.7.7","devicePixelRatio":3}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"screenWidth":360,"locationEnabled":false,"statusBarHeight":24,"pixelRatio":2,"notificationAuthorized":true,"system":"Android 7.1.2","safeArea":{"height":720,"width":360,"bottom":720,"top":0,"left":0,"right":360},"benchmarkLevel":6,"cameraAuthorized":true,"windowWidth":360,"deviceOrientation":"portrait","bluetoothEnabled":false,"brand":"vivo","version":"7.0.6","screenHeight":720,"fontSizeSetting":16,"language":"zh_CN","locationAuthorized":true,"wifiEnabled":true,"windowHeight":720,"microphoneAuthorized":true,"model":"vivo Y79A","platform":"android","SDKVersion":"2.8.3","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"screenWidth":360,"locationEnabled":true,"statusBarHeight":18,"pixelRatio":2,"notificationAuthorized":true,"system":"Android 6.0","benchmarkLevel":7,"cameraAuthorized":true,"windowWidth":360,"deviceOrientation":"portrait","bluetoothEnabled":false,"brand":"OPPO","screenHeight":640,"version":"7.0.3","fontSizeSetting":16,"language":"zh_CN","locationAuthorized":true,"wifiEnabled":true,"windowHeight":640,"microphoneAuthorized":true,"model":"OPPO A37t","platform":"android","SDKVersion":"2.6.6","devicePixelRatio":2}}}{"msg":"clientError","fileName":"loadSubPackage","error":{"tag":1004,"ext":{"statusBarHeight":25,"screenHeight":640,"model":"vivo Y27","benchmarkLevel":6,"windowHeight":640,"wifiEnabled":true,"fontSizeSetting":16,"windowWidth":360,"locationAuthorized":true,"pixelRatio":2,"locationEnabled":false,"cameraAuthorized":true,"version":"7.0.6","microphoneAuthorized":true,"system":"Android 4.4.4","notificationAuthorized":true,"screenWidth":360,"brand":"vivo","bluetoothEnabled":false,"deviceOrientation":"portrait","language":"zh_CN","safeArea":{"bottom":640,"left":0,"height":640,"right":360,"top":0,"width":360},"platform":"android","SDKVersion":"2.8.3","devicePixelRatio":2}}}
2019-10-25建议在requestAnimation中每帧清空以及绘制,否则由于GPU兼容性原因,部分Android机器会花屏
小游戏canvas自由绘画线条真机调试和预览花屏const ctx = canvas.getContext('2d') // 创建一个 2d context const screenWidth = wx.getSystemInfoSync().screenWidth const screenHeight = wx.getSystemInfoSync().screenHeight export default class Main{ constructor(){ this.drawing() } drawing(){ ctx.fillStyle = '#ffffff' // 矩形颜色 ctx.fillRect(0, 0, screenWidth, screenHeight) // 矩形左上角顶点为(0, 0),右下角顶点为(100, 100) wx.onTouchStart(function(e){ ctx.beginPath() ctx.moveTo(100, 200); ctx.lineTo(100, 300); ctx.stroke() ctx.closePath(); }) } }
2019-10-18这里按照WebGL标准,应该返回null,我们下版本会改掉,感谢反馈。游戏逻辑这里为了版本兼容,最好同时判断null和undefined
gl.getExtension('WEBGL_draw_buffer')gl.getExtension('WEBGL_draw_buffer') 7.0.7 版本 返回值 <Undefined> 7.0.6 版本 返回值 null 是否统一一下?
2019-10-18提示信息比较明显,图片大小目前不支持宽或高超过2048
chooseImage选择图片转网络图片后在模块器能显示在真机不显示?白鹭引擎[图片] [图片] [图片] 在开发工具上是可以正常加载显示这张图的,但是在真机上就不行。我的是小米8
2019-10-09android 上的逻辑是没有 drawcall 就不会触发 hide loading 页面。大概率是发生了js crash
小游戏无法预览在开发者工具上显示正常,但在手机上预览和真机调试都一直卡在100%进不去是什么原因呢,没看到哪里报错啊
2019-09-19基本是由于没有绘制逻辑(即没有任何WebGL Drawcall)导致的无法进入游戏。大概率是发生了jscrash
小游戏 白屏Bug[视频] 当用户点击小游戏icon,并等待1-2s后再次点击icon。之后弹出加载界面,加载到100%后,停留在白屏,无法进入游戏。
2019-09-17