[0]oppo小游戏打包加载.ln失败
脚本 使用的是LayaAir2.9.0,u3d版本2018.4.7,插件由官方下载的
Laya.loader.create("Scene/Conventional/Model.lh",
Laya.Handler.create(this, function () {
GameManager.models = Laya.loader.getRes("Scene/Conventional/Model.lh");
if (GameManager.models) {
this.StartGame();
} else {
this.LoadModels();
}
}), true);
u3d资源地址
链接: https://pan.baidu.com/s/1oSYCkXLlF4y7zDqPsTjV4g 提取码: dn1a
大家或者官方看到,希望能给出方案
log
E jswrapper: jsb: ERROR: File /Users/80235882/project/XGame_Release/instant-game-client/android/lib-rt-core/src/main/jni/../../../../../js-bindings/jsb_rt_file_system_manager.cpp: Line: 996, Function: FileSystemManager_readFile
E jswrapper: filePath is invalid
E jswrapper: [ERROR] Failed to invoke FileSystemManager_readFile, location: /Users/80235882/project/XGame_Release/instant-game-client/android/lib-rt-core/src/main/jni/../../../../../js-bindings/jsb_rt_file_system_manager.cpp:1061
D jswrapper: JS: [WARN]: loader callback cost a long time:211 url=Scene/Conventional/Model.lh
Laya.loader.create("Scene/Conventional/Model.lh",
Laya.Handler.create(this, function () {
GameManager.models = Laya.loader.getRes("Scene/Conventional/Model.lh");
if (GameManager.models) {
this.StartGame();
} else {
this.LoadModels();
}
}), true);
u3d资源地址
链接: https://pan.baidu.com/s/1oSYCkXLlF4y7zDqPsTjV4g 提取码: dn1a
大家或者官方看到,希望能给出方案
log
E jswrapper: jsb: ERROR: File /Users/80235882/project/XGame_Release/instant-game-client/android/lib-rt-core/src/main/jni/../../../../../js-bindings/jsb_rt_file_system_manager.cpp: Line: 996, Function: FileSystemManager_readFile
E jswrapper: filePath is invalid
E jswrapper: [ERROR] Failed to invoke FileSystemManager_readFile, location: /Users/80235882/project/XGame_Release/instant-game-client/android/lib-rt-core/src/main/jni/../../../../../js-bindings/jsb_rt_file_system_manager.cpp:1061
D jswrapper: JS: [WARN]: loader callback cost a long time:211 url=Scene/Conventional/Model.lh
没有找到相关结果
已邀请:
3 个回复
Laya_Fred
赞同来自:
在oppo真机内截图如下:
没有出现您描述的问题呢,麻烦您提供一份可以复现的示例我们看下吧。
花间提壶
赞同来自:
花间提壶
赞同来自: