- 小游戏资源无法在3.7.11+8.0.56基础库上显示
手机品牌 OPPO A2 天玑6020 8核 错误表现:loading后图片资源没法正常加载,文本显示正常 出现时间 2025.3.24 晚上至今,之前都可以用 开发引擎:egret 5.3.7,基础信息如下 [图片] 微信版本如下: [图片] 微信缓存清除过了,微信也重新卸载安装过,小程序也移除重新搜索进入的,目前只有一位玩家出现该问题,表现: [图片]图片资源缺失,文本显示正常,玩家端其他小程序正常打开 同样的基础库环境,在开发者工具和开发真机(版本8.0.57)上也能正常显示,主要不知道怎么搞到8.0.56,玩家端也还没推送新的版本...... 目前只能怀疑是8.0.56版本+3.7.11的模式,对egret的兼容问题产生影响了
03-25 - 报错r:mkdirSync:fail not a directory,mkdir?
[图片] 如图:摩托罗拉手机s30 微信版本:8.0.42 日志上传时间:2023.10:31 微信id:xinquanjia88
2023-10-31 - ERR_CACHE_READ_FAILURE
在PC端有玩家出现模型加载不出的情况,体验版复现,产看devtools发现报这个异常,微信版本号3.9.6.33,基础库是2.32.3 [图片]
2023-09-07 - wx.openPrivacyContract 调起失败?
wx.openPrivacyContract 基础库3.0.0 环境:开发者工具 失败提示:private_openUrl:fail invalid protocol
2023-07-14 - 图片加载比较慢
function loadImage(imageURL, scale9grid) { // console.warn("loadImage",imageURL) return new Promise((resolve, reject) => { const image = wx.createImage(); var startLoadTime = Date.now() image.onload = () => { let passTime = Date.now() - startLoadTime if (passTime > 1000) { console.warn("耗时:", passTime, imageURL) } const bitmapdata = new egret.BitmapData(image); const texture = new egret.Texture(); texture._setBitmapData(bitmapdata); if (scale9grid) { texture["scale9Grid"] = scale9grid; } if (systemInfo == null) { systemInfo = wx.getSystemInfoSync(); } if (systemInfo.platform == "ios") { setTimeout(() => { resolve(texture); }, 0); } else { resolve(texture); } } image.onerror = (e) => { // console.error(e); const error = new RES.ResourceManagerError(1001, imageURL); reject(error); } image.src = imageURL; }) } 通过这种方式去远程加载图片,Android手机上集中在1800ms-5000ms,开发者工具上出现在1200ms-1500ms,表现就是模型加载异常缓慢,老板已经催炸天了,求搭救哇
2023-07-04