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

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

1. 微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene [ 100%]

微信小游戏中加载unity导出的场景报错the .lh file root type must be Scene 报错:the .lh file root type must be Scene。 看了下代码,是读取的.ls文件并不是按照数组方式读取的,而是安装字符串读取进来的,所以导致判断type失败:       /**...

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

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

微信小游戏报错 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.s...

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

3. 微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene [ 96%]

微信小游戏运行导出项目的时候报错:Scene: the .lh file root type must be Scene 引擎使用的是1.7.17beta版本,下面是报错堆栈,附件是工程项目以及导出的小游戏项目。 Scene: the .lh file root type must be Scene,please use other function to  load  this fil...

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

4. 用微信小游戏测试,载入一个3D的角色.lh报错了,LayaAir的本地测试OK [ 94%]

...LayaAir的本地测试OK WAGame.js:3 gameThirdScriptError Scene: the .lh file root type must be Scene,please use other function to load this file.;at api readFile success callback function Error: Scene: the .lh file root type must be Scene,please use other function to load this file. 2018-01-15 添...

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

5. unity导出的ls和lh文件发布到微信小程序,用微信开发者工具打开报错 [ 92%]

...微信开发者工具(v1.02.1802080)里报错,错误为"Scene: the .lh file root type must be Scene,please use other function to load this file."或"Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file." 跟了一下,发现__proto.onAsynLoaded这个functi...

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

6. Unity3d导出的资源,用layadcc,只有.lh文件能用缓存,.lh依赖的资源始终download。 [ 90%]

...删除了)   4、发现tower_111002.lh 这个资源显示  found the file in the package   5、发现tower_111002.lh 这个资源所依赖的其他资源,全部都显示为 Download   6、试了其他几个资源情况也相同,从缓存中只有.lh文件能够found the file in the packag...

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

7. 导入微信小游戏的时候 [ 85%]

...信小游戏的时候 WAGame.js:3 gameThirdScriptError Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load  this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to  load  this file...

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

8. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 82%]

...d. code.js:21065 Object WAGame.js:3 gameThirdScriptError Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file.;at api readFile success callback function [b]Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file. a...

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

9. [0]laya-zip让你的游戏加载速度提升350%!! [ 78%]

...、图片、字体、声音等) [size=14][code]// Use ZIP when loading files // Note By convention, only resource files in the level-1 directory are loaded Laya.loader.create([{ url: "xx.zip", type:"ZIP"}]) [/size][/code] 如果只需要加载zip包中的部分资源,或者资源路径在多级...

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

10. 请教3D插件设置,导出的ls加载失败 [ 78%]

...rysanthemum • 2018-04-17 16:30 报错的信息是"Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file.",说明要求的是加载一个.lh文件,但是用Scene导出的却是一个.ls文件 w1114367261 • 2018-04-17 16:47 我刚看到你怎...

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