• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,156 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)

891. 关于微信连接无法自动转为wss的问题,window.location.protocol为undefined [ 51%]

...动转为wss的问题,window.location.protocol为undefined 看了下laya.core.js,是通过判断Browser.window.location.protocol是否为"https:"来决定是使用wss还是ws协议连接,但微信上真机测试Browser.window.location.protocol是undefined(同时测试了Browser.window.location.h...

来源: Laya_社区 发布时间: 20180704

892. alertexception info: [Typeerror: null is not object (evaluating this. vaoext createvertexarrayoes"] [ 51%]

...时候多出两个null A B两物体触发时会报null 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 问题状态 最新活动: 2019-12-26 12:01 浏览: 1343 关注: 2 人 圣诞老人的麋鹿 • 2020-01-15 17:02 laya 2.4.0也有这个问题,laya的引擎版本...

来源: Laya_社区 发布时间: 20191226

893. MovieClip is not a constructor [ 51%]

...uctor 2.4 生命周期触发多次,连constructor都执行了两次 laya.core.js报错:clas is not a constructor,有大佬知道是什么原因导致的吗? 发布微信小游戏运行错误,Class constructor xx cannot be invoked without 'new' 升级到2.2.0Beta报错Uncaught TypeError: Clas...

来源: Laya_社区 发布时间: 20170718

894. ios13浏览器添加到桌面标签音频问题 [ 51%]

...isibilityState的值是hidden,应该是visible 这边做了临时处理 在core.js里把SoundManager._musicClass = AudioSound替换为SoundManager._musicClass = supportWebAudio ? WebAudioSound : AudioSound;可以暂时缓解这个问题.希望官方排查下,看看具体原因,或者加个是否使...

来源: Laya_社区 发布时间: 20200808

895. Ignored attempt to cancel a touchmove event with cancelable=false [ 51%]

...是舞台事件还可以执行 每次点击报下面的警告, 在laya.core源码里面加上判断后,     (e.cancelable) && (e.preventDefault()); 依然无法解决 Ignored attempt to cancel a touchmove event with cancelable=false, for example because scrolling is in progress and...

来源: Laya_社区 发布时间: 20200512

896. [LayaAir3]laya编辑器报错Uncaught TypeError: Cannot read properties of null (reading 'pivotX') [ 51%]

...ot read properties of null (reading 'pivotX') at localhost:18090/libs/laya.core.js:17137 附件 : --> 2023-11-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问...

来源: Laya_社区 发布时间: 20231123

897. [LayaAir2]2.13.7版本在微信小游戏上文本的center居中无效往右偏 [ 51%]

...决这个问题, 方案一:开发者可以临时修改下引擎库laya.core.js,按如下修改测试下: 方案二: 引擎库切到上一个版本2.13.6,也可以解决这个问题。 后面我们发版本会修复这个问题,请留意下官方公告 2025-03-24 0 0 分享 微博 QZONE...

来源: Laya_社区 发布时间: 20250321

898. [LayaAir3][Laya3.1.1]Timer内存泄漏 [ 51%]

...同来自: 谢谢开发者反馈问题,目前线上3.1.1版本中的laya.core.js代码中的timer类已经去掉了上面反馈的代码。 2024-03-04 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 UCoyote 相...

来源: Laya_社区 发布时间: 20240304

899. IDE2.3.0发布vivo无法生成二维码 [ 51%]

....0 引擎2.1.1.1(原先是2.2.0为解决白名单失效的问题替换过core.js和wxmini.js后来试过2.2.0和2.3.1)   怀疑这个“mg-service”命令的问题 调了一天了 裂开了 附件 : --> log.rar 相关链接 : https://ask.layabox.com/question/42675   2020-01-14 添加评论 ...

来源: Laya_社区 发布时间: 20200114

900. 发布到微信小游戏,编译报错Laya is not defined [ 51%]

...调试的时候加上这条就好了,把libs 里的require("./libs/laya.core.js");加上,本地环境里就有laya了。 2020-08-30 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Fegio·Wong 相关问题 关于微信小游戏关系...

来源: Laya_社区 发布时间: 20200213