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

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

1. Laya3D初始化 window.wxMiniGame is not a function [ 100%]

Laya3D初始化 window.wxMiniGame is not a function 具体错误信息、错误发生位置、打包后libs中的min文件如下 附件 : --> 2021-12-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_A 赞...

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

2. 微信开发者工具出现错误:Laya3D init error must support webGl [ 98%]

...ptError alert is not defined ReferenceError: alert is not defined     at Function.Laya3D.init (http://127.0.0.1:38102/game/code.js:67387:4)     at new Main (http://127.0.0.1:38102/game/code.js:111146:16)     at http://127.0.0.1:38102/game/code.js:111237:1     at require (http://127.0.0.1:381...

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

3. Laya2.2问题,有没有遇到的? [ 94%]

Laya2.2问题,有没有遇到的? 子域所有代码 (function () { 'use strict';  class GameConfig { constructor() { } static init() { var reg = Laya.ClassUtils.regClass; } } GameConfig.width = 640; GameConfig.height = 1136; GameConfig.scaleMode = "fixedwidth"; GameConfig.screenMode = "none";...

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

4. 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function [ 94%]

...打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function 03-07 10:05:32.702 31653-31703/com.mihe.carrom I/LayaBox: alert=apploader.js:4515:     TypeError: this._nativeObj.addGlobalValueDefine is not a function             return this._nativeObj.addGlobalValueDefine...

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

5. Uncaught Error: IBQuadrangle count:16391 must<:16383 [ 89%]

...信息。 Uncaught Error: IBQuadrangle count:16391 must&lt;:16383     at Function.GlUtils.fillIBQuadrangle (laya.webgl.js:2614)     at Function.GlUtils.expandIBQuadrangle (laya.webgl.js:2635)     at WebGLContext2D.__proto.flush (laya.webgl.js:4744)     at RenderContext.__proto.flush (laya.co...

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

6. Uncaught TypeError: Cannot read property 'props' of undefined [ 89%]

...导入从unity导出的场景,出现此错误,代码如下 var Main = (function () { function Main() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 Laya.Scene3D.load("Lay...

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

7. HTMLDIVElement设置innerHTML时报错 [ 87%]

...l.contextWidth, html.contextHeight); Laya.stage.addChild(html); setTimeout(function() { html.innerHTML = ''; }, 300);此问题是由于在新版中改变了laya.html.js的HTMLDivElement中width的set方法 之前的版本中,set方法为/** *获取对象的宽 */ __getset(0,__proto,'width',functio...

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

8. 在一个页面多放几个iframe,里面使用引擎,一般3-4个就报错了 [ 87%]

...ontexts provided (6) is greater than or equal to the maximum bound (6). at Function.&lt;anonymous&gt; (&lt;anonymous&gt;:10787:310) at Function.get (&lt;anonymous&gt;:168:66) at Function.WebAudioSound.initWebAudio (&lt;anonymous&gt;:10773:21) at Function.Browser.__init__ (&lt;anonymous&gt;:6184:57) ...

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

9. readUTFBytes error - Out of bounds [ 87%]

...区全部数据。 *@return 读取的字符串。 */ __proto.readUTFBytes=function(len){ (len===void 0)&amp;&amp; (len=-1); if (len==0)return ""; var lastBytes=this.bytesAvailable; if (len &gt; lastBytes)throw "readUTFBytes error - Out of bounds"; len=len &gt; 0 ? len :lastBytes; return this.rUTF(le...

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

10. [2.0beta5]引入场景报错 [ 85%]

...Space/LayaTest2_5/LayaTest2_5/bin/libs/laya.physics3D.js:305:118)     at Function.Laya3D.init (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/libs/laya.d3.js:14694:4)     at new Test (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/js/bundle.js:14:16) ...

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