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

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

1. 新创建Cloud报laya is not defined [ 100%]

...错信息: TypeError: Laya.interface is not a function preload.js:55 at file:///F:/laya_workspace/FS/ElcBlock/client/bin/libs/laya.cloud.js:4:15   at file:///F:/laya_workspace/FS/ElcBlock/client/bin/libs/laya.cloud.js:682:3   TypeError: Laya.interface is not a function laya.cloud.js:4 at file://...

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

2. 给图片节点添加新创建的图片,会报这个错:node._setParent is not a function [ 98%]

...setParent is not a function preload.js:55     at Image.__proto.addChild (file:///E:/laya/myLaya/myZootopia/bin/libs/laya.core.js:20925:9)     at LoveControl.createLoveArr (file:///E:/laya/myLaya/myZootopia/bin/js/bundle.js:180:34)     at LoveControl.onEnable (file:///E:/laya/myLaya/myZootopia/...

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

3. TypeError: Laya.MovieClip is not a constructor [ 97%]

...s not a constructor preload.js:55 at XLoadUIScript.32.XLoadUIScript._init (file:///D:/1MiniGame/mini-game-client/minigame1/bin/js/bundle.js:3001:18)   at XLoadUIScript.32.XLoadUIScript.onStart (file:///D:/1MiniGame/mini-game-client/minigame1/bin/js/bundle.js:2939:14)   at LaterHandler.__proto.run ...

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

4. Uncaught RangeError: Source is too large 这个怎么解决,下面是具体的错误提示,希望有朋友提供下解决方法 [ 97%]

...ge at Float32Array.set (native) at DynamicBatch.__proto._getRenderElement (file:///D:/Projects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:5989:23) at DynamicBatch.__proto._addToRenderQueue (file:///D:/Projects_D/LayaPrjs/2017_FilesLayouterManager/bin/h5/Main.max.js:6043:9) at DynamicBat...

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

5. [2.0beta5]引入场景报错 [ 97%]

...geError: Source is too large     at Uint8Array.set (native)     at Pv (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/libs/laya.physics3D.js:304:397)     at Object.window.Physics3D (file:///D:/UserSoft/layaAir2.5/workSpace/LayaTest2_5/LayaTest2_5/bin/libs/laya.physics3D.j...

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

6. TypeError: Cannot read property '_byteLength' of null [ 96%]

...annot read property '_byteLength' of null at WebGLContext2D.__proto.flush (file:///F:/client_svn/h5/bin/libs/laya.webgl.js:4963:32) at SubmitCanvas.__proto.renderSubmit (file:///F:/client_svn/h5/bin/libs/laya.webgl.js:6294:18) at WebGLContext2D.__proto.submitElement (file:///F:/client_svn/h5/bin/lib...

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

7. ReferenceError: Laya3D is not defined? [ 96%]

...  ReferenceError: Laya3D is not defined preload.js:55 at new HelloWord3D (file:///E:/LayaWorkSpace/HelloWord3D1/bin/js/bundle.js:26:9)   at Object.1 (file:///E:/LayaWorkSpace/HelloWord3D1/bin/js/bundle.js:44:1)   at o (file:///E:/LayaWorkSpace/HelloWord3D1/bin/js/bundle.js:11:265)   at r (file:/...

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

8. ReferenceError: Loader is not defined 搞不懂引擎原生的也会报这个错? [ 95%]

...enceError: Loader is not defined preload.js:55     at LoveView.onEnable (file:///D:/laya/myLaya/myZootopia/bin/js/bundle.js:683:94)     at LoveView.__proto._activeHierarchy (file:///D:/laya/myLaya/myZootopia/bin/libs/laya.core.js:21411:8)     at LoveView.__proto._processActive (file:///D:/laya...

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

9. TypeError: Cannot read property 'length' of null [ 94%]

...ypeError: Cannot read property 'length' of null at Sprite._setBelongScene (file:///D:/work/study/project/client/test/air_war/bin/libs/laya.core.js:13049:52) at Sprite._onAdded (file:///D:/work/study/project/client/test/air_war/bin/libs/laya.core.js:13129:37) at Sprite._setParent (file:///D:/work/stu...

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

10. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 93%]

...ead num = 3 I/LayaBox: start thread:image decode,2987 I/LayaBox: found the file in the package:shaders/todevVS.glsl I/LayaBox: found the file in the package:shaders/fillColorPS.glsl I/LayaBox: found the file in the package:shaders/drawImagePS.glsl I/LayaBox: found the file in the package:shaders/fil...

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