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

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

111. 释放资源Cannot read property '_getSource' of undefined重新加载会容易报错 [ 93%]

...ce' of undefined TypeError: Cannot read property '_getSource' of undefined at we._uniform_sampler2D (game.js:34:223996) at t.uploadShaderUniforms (game.js:28:446232) at we.uploadUniforms (game.js:34:224675) at Ut._render (game.js:34:338289) at Yt._render (game.js:34:363882) at rr._renderScene (game....

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

112. 3D开启多线程报错 [ 93%]

3D开启多线程报错 开启多线程后 Laya.WorkerLoader.workerPath="libs/worker.js"; Laya.WorkerLoader.enable=true;   加载导出的3D模型 Laya.Sprite3D.load("res/assets/LayaScene_guanyu/TestScene.lh");   报错:laya.d3.js:37225 Uncaught TypeError: Failed to execute 'texImage2D' on 'Web...

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

113. 拖尾crash [ 93%]

...始报错了。 Uncaught RangeError: Invalid typed array length: 16     at new Float32Array (<anonymous>)     at VertexBuffer3D.__proto.setData (libs/laya.d3.js:26944)     at TrailGeometry.__proto._updateVerticesByPositionData (libs/laya.d3.js:26764)     at TrailGeometry.__proto._updat...

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

114. unity导出有动作的模型,加载时报错 [ 93%]

...oad("res/LayaScene_Model_1001/Conventional/Model_1001.lh", Laya.Handler.create(null, (sprite:Laya.Sprite3D) => { this.mScene.addChild(sprite); sprite.transform.translate(new Laya.Vector3(-0.3, 0, 0)); }));   报错信息laya.d3.js:6573 Uncaught TypeError: Cannot set property 'x' of undefined   ...

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

115. QQ小游戏,Laya.MiniAdpter.nativefiles 报错 [ 93%]

QQ小游戏,Laya.MiniAdpter.nativefiles 报错 Laya.MiniAdpter.init(); Laya.MiniAdpter.nativefiles = [ "res/design_data",   MAC  Laya 2.5,qq模拟器V0.1.29-beta56 上面的代码发布qq小游戏后在模拟器里面报错,检查了lib里面已经有laya.qqmini.js,貌似好像找不到Mi...

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

116. 3D开启多线程报错 [ 93%]

3D开启多线程报错 开启多线程后 Laya.WorkerLoader.workerPath="libs/worker.js"; Laya.WorkerLoader.enable=true;   加载导出的3D模型 Laya.Sprite3D.load("res/assets/LayaScene_guanyu/TestScene.lh");   报错:laya.d3.js:37225 Uncaught TypeError: Failed to execute 'texImage2D' on 'Web...

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

117. layacmd 报错 [ 93%]

.../.laya', 'clear=true', 'releasemode=normal' ] stdout: type: Linux stderr: path.js:7 throw new TypeError('Path must be a string. Received ' + inspect(path)); ^ TypeError: Path must be a string. Received undefined at assertPath (path.js:7:11) at Object.join (path.js:1211:7) at Function.FileTools.getPa...

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

118. WX小游戏声音_audio报错问题 [ 93%]

...operty 'play' of null TypeError: Cannot read property 'play' of null     at MiniSoundChannel.__proto.play (http://127.0.0.1:24812/game/code.js:22424:14)     at SimpleSoundManager.SimpleSoundManager.playSound (http://127.0.0.1:24812/game/code.js:92328:37)     at FootBallCtrl.SetPosition (http:/...

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

119. laya.core.js报错:value._addReference is not a function [ 93%]

...caught (in promise) TypeError: value._addReference is not a function     at Texture.<anonymous> (laya.core.js:15911)     at Texture.__proto._onLoaded (laya.core.js:15752)     at EventHandler.__proto.runWith (laya.core.js:1410)     at ResInfo.__proto.event (laya.core.js:1166)     at L...

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

120. prefab添加runtime脚本 comp._addComponentInstance is not a function [ 93%]

...586 Uncaught TypeError: comp._addComponentInstance is not a function     at Function.SceneUtils.createComp (laya.core.js:11586)     at Function.SceneUtils.createByData (laya.core.js:11507)     at Prefab.__proto.create (laya.core.js:19301)     at Function.Pool.getItemByCreateFun (laya.core.js...

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