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

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

251. Laya.Pool.getItemByClass 闪退 [ 91%]

...是 "fish.init is not a function" "TypeError: fish.init is not a function at Function.CFSprite.reusableFishWithType (file:///Users/heboyce/Desktop/Work/Web/CatchFish/bin/js/common/CFSprite.js:28:14) at GameView.addFinsh (file:///Users/heboyce/Desktop/Work/Web/CatchFish/bin/js/GameView.js:39:29) at G...

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

252. layaNative2.0在android上crash报错 [ 91%]

layaNative2.0在android上crash报错 请看图片,我们至少两个游戏都出了,不止一次,一天一个游戏至少能出两次,概率不低。native版本2.1.0 请问有可能我们使用上面有什么问题,是否可以避免呢,H5版本不会出问题,Native挂在apploader....

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

253. 使用es6里面的MAP 然后加断点后IDE 报错 [ 91%]

...cessing "variables": TypeError: Cannot read property 'length' of undefined at trimProperty (d:\Tools\LayaAirIDE_beta\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\variables.js:137:18) at propertyPreviewToString (d:\Tools\LayaAirIDE_beta\resources\app\extens...

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

254. TypeError: Cannot read property '_byteLength' of null [ 91%]

...报错的 Uncaught TypeError: Cannot read property '_byteLength' of null at WebGLContext2D.__proto.flush (GameLoader.max.js:25474) at SubmitCanvas.__proto.renderSubmit (GameLoader.max.js:26595) at WebGLContext2D.__proto.submitElement (GameLoader.max.js:25465) at WebGLContext2D.__proto.flush (GameLoa...

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

255. [unity动画导出] unity导出3d动画报错 [ 90%]

...2018.4.23   使用插件导出动画. 勾选预烘焙骨骼后提示 Animator must have SkinnedMeshRenderer as Child !  请问这个应该要怎样处理   (没有勾选预烘焙骨骼)报错 KeyNotFoundException: The given key was not present in the dictionary. System.Collections.Generic.Diction...

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

256. 使用滤镜报错 [ 90%]

...0.3086, 0.6094, 0.0820, 0, 0,//B     0, 0, 0, 1, 0 //A ]; var grayscaleMatN = 0.8; var grayscaleMat = [     0.3086 * (1 - grayscaleMatN) + grayscaleMatN, 0.6094 * (1 - grayscaleMatN), 0.0820 * (1 - grayscaleMatN), 0, -40,//R     0.3086 * (1 - grayscaleMatN), 0.6094 * (1 - grayscaleMatN) + g...

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

257. https://ask.layabox.com/question/13181官方Demo运行不起来 [ 90%]

...---------sharedresize----------1------------------"); console.log(message.data.matrix); console.log("-----------------sharedresize------------2----------------"); if (message.data.matrix) { Laya.stage._canvasTransform = message.data.matrix;//重新设置矩阵 console.log(Laya.stage._canvasTransform...

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

258. Maximum call stack size exceeded [ 90%]

... size exceeded Uncaught RangeError: Maximum call stack size exceeded     at new EventDispatcher (laya.core.js:1027)     at new Node (laya.core.js:13292)     at new Sprite (laya.core.js:13871)     at new Scene (laya.core.js:23721)     at new GameMain (bundle.js:6)     at Function.getCompI...

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

259. 导出场景报错 [ 90%]

...eption: Method not found: 'UnityEngine.Texture2D.EncodeToPNG'. LayaExport.DataManager.saveData () LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:427) LayaAir3D.OnGUI () (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:331) System.Ref...

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

260. 微信小游戏报错 the .lh file root type must be Scene [ 90%]

...戏报错 the .lh file root type must be Scene 引擎版本1.7.17beta private screen3DPath: string = "res/layaScene/xiangsuqiche.ls"; public LoadScene3D(): Laya.Scene { console.log("screen#DPath = " + this.screen3DPath); let scene: Laya.Scene = Laya.Scene.load(this.screen3DPath); Laya.stage.addChild...

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