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

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

71. 1.7.13打包发布web版本报错 [ 46%]

...D:\LayaAirIDE_1.7.13\resources\app\node_modules\uglify-js\lib\parse.js:204 throw new JS_Parse_Error(message, line, col, pos); ^ Error at new JS_Parse_Error (D:\LayaAirIDE_1.7.13\resources\app\node_modules\uglify-js\lib\parse.js:196:18) at js_error (D:\LayaAirIDE_1.7.13\resources\app\node_modules\ugl...

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

72. LayaBox 出错啦,请把此信息截图给研发商 SimpleSingletonList [ 46%]

...:void { try { var index:int = element._getIndexInList(); if (index !== -1) throw "SimpleSingletonList:"+element+" has in SingletonList."; _add(element); element._setIndexInList(length++); } catch(err) { console.log("多点触控出了问题,强行异常处理:",err)...

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

73. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 45%]

...e!=="Scene"){ if (url == "scene/Demo_Interiors.ls"){ console.log(data[0]); throw new Error("Scene: the .lh file root type must be Scene,please use other function to load this file."); } }            var innerResouMap=data[1];     Utils3D._createNodeByJson(this,json,this,innerResouMap);...

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

74. 微信小游戏中不能加载proto文件 [ 44%]

...(err, root) { console.log("____________________________________") if (err) throw err;  // Obtain a message type var AwesomeMessage = root.lookup("msg.LoginReq");  // Create a new message var message = AwesomeMessage.create( { openid: "AwesomeString" });  console.log(message.openid) // Verify the ...

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

75. [临时解决]bug?加载sk问题 [ 43%]

...这里: laya.core.js的7430行    if (this._pos_+2 > this._length)throw "getUint16 error - Out of bounds"; 但是,不使用预加载,就不报错,只是不知道什么时候真的加载完成,那个_template不再为null,我就可以调用play了。   怎么解决?   我上传...

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

76. Laya 绑定显示内容到骨骼动画 [ 42%]

...):void{ let index:number=this.__bindList.indexOf(source); if(index<0){ throw new Error("找不到要删除的绑定内容"); } this.removeChild(source); this.__bindList.splice(index,1); }  private __updateBinds():void{ let source:BindSource; let position:Laya.Point=Laya.Point.create(); for...

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

77. zip更新模式缓存是怎么读取的?? [ 42%]

...urlret!=0 || httpret<200||httpret>=300){ onEvent('downloadError'); //throw 'download error'; }else{ onEvent('downloadOK'); //let md5 = calcmd5(fs_readFileSync(localfile)); //console.log('md5='+md5); let zip = new ZipFile(); if(zip.setSrc(localfile)){ zip.forEach((id,name,dir,sz)=>{ if(!dir)...

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

78. laya发布vivo小游戏失败 [ 41%]

...游戏项目 index.js:829 data stderr: internal/modules/cjs/loader.js:968 throw err; ^ Error: Cannot find module 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vivo-minigame\cli\bin\mg' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15) at Function.Module._load (i...

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

79. 可能有个昵称叫做“syy”的一只掉进粪坑里的猪会在下面乱叫 [ 41%]

... if (box2d.DEBUG && !a) {console.log(box2d.DEBUG); console.log(a); throw Error() } else { }; }; 匿名用户 • 2018-12-30 15:59 box2d.ENABLE_ASSERTS && box2d.b2Assert(0 < this.m_jointCount); 这句话 0<this.m_jointCount 灰太狼 • 2019-03-19 10:34 @匿名用户:就是这...

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

80. 分享:Laya开发TS项目使用pomelo客户端SDK(pomelo-jsclient-websocket) [ 41%]

...kawazo 请教下 在生成build文件的时候发生错误: fs.js:159   throw new ERR_INVALID_CALLBACK();   ^ TypeError [ERR_INVALID_CALLBACK]: Callback must be a function     at maybeCallback (fs.js:159:9)     at Object.fs.writeFile (fs.js:1278:14)     at /usr/local/lib/node_modules/compo...

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