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

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

1. laya2.10两个版本的测试,Oppo分包无法加载,读取资源报错,能加载分包无法读取回调 [ 100%]

... /Users/80235882/project/XGame/instant-game-client/android/lib-rt-core/src/main/jni/../../../../../js-bindings/jsb_rt_file_system_manager.cpp: Line: 990, Function: FileSystemManager_readFile 01-06 11:41:34.676 5287-5417/? E/jswrapper: [ERROR] Failed to invoke FileSystemManager_readFile, location: /U...

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

2. Maximum call stack size exceeded [ 95%]

...ya.core.js:13871)     at new Scene (laya.core.js:23721)     at new GameMain (bundle.js:6)     at Function.getCompInstance (laya.core.js:21214)     at Function.createComp (laya.core.js:21081)     at Function.createComp (laya.core.js:21111)     at Function.createByData (laya.core.js:21034)...

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

3. 使用Laya2.0做微信开放数据域是出错。 [ 95%]

...__init__ (laya.core.js:4125) at Object.Laya.init (laya.core.js:252) at new Main (Main.ts:6) at Object.2../GameConfig (Main.ts:35) at o (_prelude.js:11) at r (_prelude.js:11) at _prelude.js:11 MiniFileMgr.setNativeFileDir @ laya.wxmini.js:673 MiniAdpter.init @ laya.wxmini.js:91 MiniAdpter.enable @ la...

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

4. Uncaught TypeError: Cannot read property 'props' of undefined [ 94%]

...码,导入从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.loa...

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

5. Laya.loader.load 加载场景报错 [ 92%]

...Parent is not a function at Stage.__proto.addChild (laya.core.js:13290) at Main.<anonymous> (Main.ts:148) at EventHandler.__proto.runWith (laya.core.js:1399) at ResInfo.__proto.event (laya.core.js:1156) at LoaderManager.__proto._endLoad (laya.core.js:14773) at Loader.onLoaded (laya.core.js:147...

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

6. (有图片附件)图集用的atlas 在LayaAir里可以正常跑,但是发布后,运行报错 Failed to load file.Cross origin requests are [ 92%]

...ed to load: H:/WeChatQ1Snake/release/layaweb/v1.0.0/res/atlas/images.atlas main.min.js:1 Uncaught TypeError: BackGround is not a constructor     at t.onLoaded (main.min.js:1)     at t.onLoaded2 (main.min.js:1)     at e.run (laya.core.min.js:1)     at e.i.event (laya.core.min.js:1)     at e...

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

7. 加载.ls场景文件,销毁场景,再加载同一场景,想恢复初始状态,结果报错【附Demo】 [ 91%]

...re.js:18511)     at Stage.__proto.addChild (laya.core.js:13290)     at Main.Complete3D (Main.ts:48)     at Handler.__proto.runWith (laya.core.js:1400)     at LoaderManager.__proto._createOne (laya.core.js:14594)     at LoaderManager.__proto._create (laya.core.js:14560)     at LoaderManag...

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

8. laya项目执行顺序 [ 89%]

...目执行顺序 这个项目是这样的,通过Index.ts实例化了一个main.ts,然后执行了main的构造函数之后,就突然跳转到laya.core.js(通过浏览器调试知道),然后就执行了main.ts里面的一个函数名为onConfigLoaded(),然后又跳转到laya.core.js,...

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

9. 做了一个最简单的显示微信子域的程序,但是报错Cannot read property 'USER_DATA_PATH' of undefined [ 88%]

...__init__ (laya.core.js:8643) at Object.Laya.init (laya.core.js:252) at new Main (Main.js:6) at Object.2../GameConfig (Main.js:37) at o (_prelude.js:11) at r (_prelude.js:11) at _prelude.js:11 MiniFileMgr.setNativeFileDir @ laya.wxmini.js:615 MiniAdpter.init @ laya.wxmini.js:33 MiniAdpter.enable @ la...

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

10. 设置声音 在 chrome 的一个警告 [ 87%]

...动chrome出现错误: Error processing launch: Error Could not attach to main target 游戏运行在chrome里面 听不见声音 使用钢体设置防穿后仍有几率会穿透 如何设置Sprite的宽高和点击区域? 关于同为object层,层级设置无效的问题 龙骨skeleton鼠标点...

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