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

大约有 2,568 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0070 秒)

91. localToGlobalRect报错Uncaught TypeError: Cannot read property 'localToGlobalRect' of null [ 93%]

localToGlobalRect报错Uncaught TypeError: Cannot read property 'localToGlobalRect' of null 当我重新设置了Glist的numItems=0时,每次第一次运行,报错,但是不影响流程进行 但是没有调用配合的RenderItem组件,因为是0;     不知道为啥会如此运行? 2021-04-17 ...

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

92. Laya3D中加载粒子特效报错Cannot read property '_update' of undefined [ 93%]

Laya3D中加载粒子特效报错Cannot read property '_update' of undefined 最新版IDE+引擎+导出工具 加载后特效播放期间报错 Cannot read property '_update' of undefined   特效是从网络上下载的,在U3D内播放正常,不太懂制作的原理,是有些属性Laya不...

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

93. 微信开放数据域加载图片后报错 Cannot read property 'USER_DATA_PATH' of undefined [ 93%]

微信开放数据域加载图片后报错 Cannot read property 'USER_DATA_PATH' of undefined 在子域中简单的添加一张图片后,微信开发工具中报错 Cannot read property 'USER_DATA_PATH' of undefined 图片的url不管是本地的还是微信头像的url都会这样 主域中这...

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

94. 使用高度图的时候 Cannot read property 'width' of undefined [ 93%]

使用高度图的时候 Cannot read property 'width' of undefined var terrainSprite = Laya.MeshTerrainSprite3D.createFromMeshAndHeightMap(terrain.meshFilter.sharedMesh, texture, 45.58879852294922, -45.58879852294922); //报错:Cannot read property 'width' of undefinedDemo见附件。   附件 :...

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

95. Uncaught TypeError: Cannot read property 'props' of undefined [ 93%]

Uncaught TypeError: Cannot read property 'props' of undefined 按照官方提供的代码,导入从unity导出的场景,出现此错误,代码如下 var Main = (function () { function Main() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.s...

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

96. 2.0按钮添加事件报错 cannot read property 'on' fof undefined [ 93%]

2.0按钮添加事件报错 cannot read property 'on' fof undefined class GameLogin extends ui.login.login_bgUI { constructor() { super(); this.btn_register.on("click", this, this.ToRegisterPage); } ToRegisterPage() : void { this.loadScene("login/register_page"); } }   //调用on的时候 直接...

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

97. 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 [ 93%]

跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 偶发性bug。 Uncaught (in promise) TypeError: Cannot read property 'width' of null     at Function.Texture._create (laya.core.js:15946)     at Texture.__proto._onLoaded (laya.core.js:15750)     at EventHandler._...

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

98. 播放swf动画的时候,有的时候会崩溃在这里, Cannot read property 'dir' of undefined [ 93%]

播放swf动画的时候,有的时候会崩溃在这里, Cannot read property 'dir' of undefined this.basePath=this._atlasPath?Loader.getAtlas(this._atlasPath).dir:this._url.split(".swf")[0]+"/image/"; 2018-04-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

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

99. IDE打开某个场景时弹处弹框报错:对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null [ 93%]

IDE打开某个场景时弹处弹框报错:对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 对[Dialog]的texture属性赋值时遇错误:cannot read property 'width' of null 附件 : --> 2020-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...

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

100. 发布微信项目打开 TypeError: Cannot read property 'load' of undefined [ 93%]

发布微信项目打开 TypeError: Cannot read property 'load' of undefined 在本地运行可以,但发布项目,用微信开发工具打开报错误,提示:无法读取未定义的属性“load”,不能使用 protobuf.load,有什么解决方案吗? 附件 : --> 2019-04-27 添加...

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