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

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

1. Cannot read property '_physicsUpdateList' of null 错误 [ 100%]

...der = ball.addComponent(Laya.PhysicsCollider) 添加碰撞以后 再销毁 destroy这个对象的时候 就出错了   Uncaught TypeError: Cannot read property '_physicsUpdateList' of null     at PhysicsCollider.__proto._onDestroy (laya.d3.js:21732)     at PhysicsCollider.__proto._destroy (la...

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

2. Particle2D destroy黑屏 [ 99%]

Particle2D destroy黑屏 Particle2D 粒子执行了 destroy(true) 就黑屏了 引擎laya1.7.22beta版本 弹出了很多警告 WebGL: INVALID_OPERATION: drawElements: no buffer is bound to enabled attribute __proto.renderSubmit @ laya.webgl.js:7418 __proto.submitElement @ laya.webgl.js:5943 __prot...

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

3. drawToCanvas真机资源无法释放 [ 99%]

...资源无法释放 1. drawToCanvas在native上获取的HTMLCanvas,调用destroy,会崩溃 2. native上如果调用release并不能释放内存,会内存泄露 2018-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...

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

4. progressbar设置皮肤后, 马上destroy会报bug [ 99%]

progressbar设置皮肤后, 马上destroy会报bug set skin(value: string) { if (this._skin != value) { this._skin = value; if (this._skin && !Loader.getRes(this._skin)) { ILaya.loader.load(this._skin, Handler.create(this, this._skinLoaded), null, Loader.IMAGE, 1); // TODO TS } else { this....

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

5. Texture引用计数不为0的时候执行销毁纹理destroy方法后再加载这个资源会导致重复加载 [ 98%]

Texture引用计数不为0的时候执行销毁纹理destroy方法后再加载这个资源会导致重复加载     /**     *销毁纹理。     */     __proto.destroy=function(force){         (force===void 0)&& (force=false);         if (!this._destroyed){ ...

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

6. Sprite的destroy [ 98%]

Sprite的destroy destroyChildren() { if (this._children) { for (var i = 0, n = this._children.length; i < n; i++) { this._children[0].destroy(true); } } 这几行代码来自laya.core.js的12544行开始的,for循环里的this._children[0]是不是应该是this._children[i]?还是我的使用...

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

7. TimeLine调用destroy报错&执行完成后回到起点 [ 97%]

TimeLine调用destroy报错&执行完成后回到起点 使用的是官方的TimeLine demo 问题1:如果在onComplete中调用destroy报错 问题2【用法问题请无视】:如果注释掉“turnUp”, 在动画执行完成后, 图片的x,y坐标变成了起始坐标   报错信...

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

8. bug:laya.Scene.destroy [ 97%]

bug:laya.Scene.destroy var list=laya.display.Scene.unDestroyedScenes; for (var i=0,n=list.length;i < n;i++){//这里缓存了长度,但是在 __proto.destroy=function(destroyChild){ (destroyChild===void 0)&& (destroyChild=true); this._idMap=null; _super.prototype.destroy.call(this,dest...

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

9. 销毁 new 出的带有 PhysicsCollider 的正方体模型报错 [ 97%]

...s Laya.MeshSprite3D; this.box.addComponent(Laya.PhysicsCollider); this.box.destroy();引擎版本 LayaAirIDE2.0_beta.5 报错: Uncaught TypeError: Cannot read property 'destroy' of null     at PhysicsCollider.__proto._onDestroy (laya.d3.js:17738)     at PhysicsCollider.__proto._destroy (laya.c...

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

10. 3D场景销毁后,仍有引用存在,内存中场景及引用其的对象无法销毁 [ 97%]

...rm.position = new Laya.Vector3(0, 0, 0);             item.destroy();             item = null;             tarItem.destroy();             tarItem = null;             this.camera.removeSelf();             this.camera.dest...

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