[LayaAirIDE 2.0]Laya.loader.load 加载场景报错

Laya.loader.load( 模型url,
Laya.Handler.create(this, function(){
this.scene = Laya.loader.getRes(模型url);
Laya.stage.addChild(this.scene);
}),null, null, 1, true, "scene1");

执行后,浏览器报 :

laya.core.js:13290 Uncaught TypeError: node._setParent 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:14743)
at EventHandler.__proto.runWith (laya.core.js:1399)
at Loader.__proto.event (laya.core.js:1156)
at Loader.__proto.endLoad (laya.core.js:16363)
at Function.Loader.checkNext (laya.core.js:16399)

使用Laya.Sene3D.load,以及预加载方式,没有问题。请问怎么解决? 附件是场景文件。
已邀请:

Aar0n

赞同来自:

加载场景本来就是 用场景加载 和预加载 这两种方式的,其它方式会因为异步加载导致操作的时候没有加载出来。

该问题目前已经被锁定, 无法添加新回复

商务合作
商务合作