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

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

31. laya创建wxopendataviewer组件报 Cannot read property "createTexture" of null 的错误,疑似layabug [ 93%]

laya创建wxopendataviewer组件报 Cannot read property "createTexture" of null 的错误,疑似layabug 不管是用ide创建wxopendataviewer组件还是代码创建,执行到创建的时候就会报Cannot read property "createTexture" of null,用的是layaide2.0版本引擎,新建的项...

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

32. TypeError: Cannot read property 'length' of null [ 93%]

TypeError: Cannot read property 'length' of null layaide2.4.0a场景包含预制体hero.prefab,b场景也包含预制体hero.prefab 在a场景通过Laya.Pool.getItemByCreateFun("hero", this.pHero.create, this.pHero)创建对象,同时给对象设置位置,成功 跳转到b场景后,通过Laya.Poo...

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

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

[LayaAir3]laya编辑器报错Uncaught TypeError: Cannot read properties of null (reading 'pivotX')     Uncaught TypeError: Cannot read properties of null (reading 'pivotX') at localhost:18090/libs/laya.core.js:17137 附件 : --> 2023-11-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

34. Laya.stage报null [ 93%]

Laya.stage报null // 引擎初始化前先初始化适配库 Laya.BMiniAdapter.init(); //初始化引擎 Laya3D.init(Laya.Browser.width, Laya.Browser.height, true);   在代码中初始化引擎报的 Laya.stage为null,版本用的1.8.3 附件 : --> 2020-02-02 添加评论 悬赏 --> 分享 微博...

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

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

36. ani动画问题,cannot read property '_tf' of null [ 93%]

ani动画问题,cannot read property '_tf' of null showAni(panel:Laya.Box) {             if (!panel.contains(this)) {                 panel.addChild(this);                 this.pos(0,110);             }             let i = 1;             this.ani1.play(0, f...

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

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

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

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

38. 2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null [ 92%]

2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null 上个帖子点下面确认发起后哪也找不到了,很奇怪,再发一次。 上面截图来自 Render 的rinitRender  方法 总返回null 已上传附件 附件 : --> wxgame.zip 2022-06-16 添加评论 ...

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

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

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

40. 发布web报错,can not read property "tagName" of null [ 92%]

发布web报错,can not read property "tagName" of null F5调试没问题,通过二维码的浏览器访问就报错了,怎么解决啊 附件 : --> 2019-02-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 5 个回复...

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