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

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

151. 用unity插件导出lh格式文件,再代码中加载使用的问题 [ 93%]

...  TypeError: Cannot read property 'btCollisionObject' of undefined bundle.js:64076     at PhysicsCollider.__proto._onAdded (file:///D:/fish_project/laya-air/myLaya1/bin/js/bundle.js:64076:30)     at Sprite3D.__proto._addComponentInstance (file:///D:/fish_project/laya-air/myLaya1/bin/js/bundle.j...

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

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

...oad(partPath, Laya.Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); }  onAssetsLoaded(settings) {         // 当load数组的时候,回调函数传入的参数不再是资源,可以通过以下方法获取资源         // let settings = Laya.loader.getRes(partPath...

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

153. 真机上随机报错 [ 93%]

真机上随机报错 JS onFrame error 2021-12-01 17:08:49.363 11766-11918/? I/LayaBox: alert=出错啦,请把此信息截图给研发商 RangeError: Array buffer allocation failed http:111111/.com/libs/laya.d3.js:24049: RangeError: Array buffer allocation failed this._vertices = new Float32Array...

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

154. 打包突然不成功。RangeError: Invalid string length at encodeURIComponent () at Function.SMD5.str2rstrUTF8 [ 92%]

...0\resources\app\out\layarepublic\LayaAirProjectPack\LayaAirProjectPack.max.js:3232 return unescape(encodeURIComponent(input)) ^ RangeError: Invalid string length at encodeURIComponent () at Function.SMD5.str2rstrUTF8 (D:\LayaAirIDE_1.7.20\resources\app\out\layarepublic\LayaAirProjectPack\LayaAirProj...

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

155. AS3与JS混合编码(ActionScript-2D进阶篇(AS3)-扩展模块) [ 92%]

# AS3与JS混合编码   AS3与JS交互是一种常见的需求,flash插件提供了一个简单的接口函数`ExternalInterface.call`和`ExternalInterface.addCallback`与JS交互。但是发布HTML5,这个flash的接口就不能用了。   作为支持AS3语言编写HTML5的引擎,La...

来源: Laya2.0_文档 发布时间: 20210715

156. Cannot read property 'call' of undefined [ 92%]

... (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:130:41)    at new GameScene (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/GameScene.js:4:19)    at HomePageUI.onGameStart (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/HomePage.js:78:27)    ...

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

157. 发布到微信小游戏后Timer的getHandler报错了 [ 92%]

...f undefined at Timer.__proto._getHandler (http://127.0.0.1:55825/game/code.js:22446:17) at Timer.__proto._create (http://127.0.0.1:55825/game/code.js:22320:21) at Timer.__proto.once (http://127.0.0.1:55825/game/code.js:22365:8) at MyData.__proto.catchCard ( 于是我定位到编译好的code.js, ...

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

158. 微信小游戏打包后SFS2X.d.ts没有打包成js文件 导致运行报错未找到 [ 92%]

微信小游戏打包后SFS2X.d.ts没有打包成js文件 导致运行报错未找到 SFS2X is not defined;at api readFile success callback function ReferenceError: SFS2X is not defined     at Server.initSFS (http://127.0.0.1:17168/game/code.js:130617:26)     at GameMain.initGame (http://127.0....

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

159. 【求助】关于Cannot read property 'visible' of undefined问题 [ 92%]

...rSprite3D.__proto._childs (file:///D:/Projects/Study/three/bin/h5/Main.max.js:6529:29) at Sprite.__proto.render (file:///D:/Projects/Study/three/bin/h5/Main.max.js:21868:42) at RenderSprite3D.__proto._childs (file:///D:/Projects/Study/three/bin/h5/Main.max.js:6529:45) at RenderSprite3D.__proto._tran...

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

160. 实例碰撞体报错,Cannot read property 'btSphereShape' of undefined [ 92%]

...ty 'btSphereShape' of undefined     at new SphereColliderShape (laya.d3.js:27198)     at new GameUI (GameUI.js:30)     at Function.ClassUtils.getInstance (laya.core.js:9634)     at SceneLoader.create (laya.core.js:20746)     at EventHandler.__proto.run (laya.core.js:1111)     at Sc...

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