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

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

81. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 93%]

Laya.timer.loop() 报错 Cannot read property 'loop' of null import { Image } from "laya/ui/Image"; // import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public ...

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

82. 实例碰撞体报错,Cannot read property 'btSphereShape' of undefined [ 93%]

实例碰撞体报错,Cannot read property 'btSphereShape' of undefined Uncaught TypeError: Cannot read property 'btSphereShape' of undefined     at new SphereColliderShape (laya.d3.js:27198)     at new GameUI (GameUI.js:30)     at Function.ClassUtils.getInstance (laya.core.js:9634)   ...

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

83. 使用高度图的时候 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

84. 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

85. Laya导入到微信开发者工具Cannot assign to read only property 'window' of object '#<Window>' [ 93%]

Laya导入到微信开发者工具Cannot assign to read only property 'window' of object '#&lt;Window&gt;' Cannot assign to read only property 'window' of object '#&lt;Window&gt;'这个问题到底怎么解决?有官方的回复了么? 我这里将ES6转ES5取消后,真机调试又不行“...

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

86. 导入缩放过带有MeshCollide时出错,Cannot read property 'setLocalScaling' of undefined [ 93%]

导入缩放过带有MeshCollide时出错,Cannot read property 'setLocalScaling' of undefined 求助,如何处理  Uncaught TypeError: Cannot read property 'setLocalScaling' of undefined     at MeshColliderShape.__proto._setScale (laya.d3.js:23983)     at PhysicsCollider.__proto._onScaleCh...

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

87. 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

88. 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

89. 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

90. 跳转场景后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