[LayaAir 2.0]场景进行destroy销毁后,再次加载同一场景,就会报错

laya.core.js:13721
at Scene3D.__proto._activeHierarchy (file:///D:/H5/bin/libs/laya.core.js:13721:28)
 
at Scene3D.__proto._onAdded (file:///D:/H5/bin/libs/laya.core.js:13770:58)
 
at Scene3D.__proto._setParent (file:///D:/H5/bin/libs/laya.core.js:13486:10)
 
at Scene3D.__proto._setParent (file:///D:/H5/bin/libs/laya.core.js:18511:31)
 
at Stage.__proto.addChild (file:///D:/H5/bin/libs/laya.core.js:13290:9)
 
at SceneManage.createScene (file:///D:/H5/bin/js/bundle.js:26107:20)
 
at BattleLoading.<anonymous> (file:///D:/H5/bin/js/bundle.js:18082:57)
 
at Handler.__proto.runWith (file:///D:/H5/bin/libs/laya.core.js:1399:59)
 
at LoaderManager.__proto._createOne (file:///D:/H5/bin/libs/laya.core.js:14594:25)
 
at LoaderManager.__proto._create (file:///D:/H5/bin/libs/laya.core.js:14560:9)
已邀请:

158*****796

赞同来自:

TypeError: Cannot read property 'length' of null
laya.core.js:13721
at Scene3D.__proto._activeHierarchy (file:///D:/H5/bin/libs/laya.core.js:13721:28)
 
at Scene3D.__proto._onAdded (file:///D:/H5/bin/libs/laya.core.js:13770:58)
 
at Scene3D.__proto._setParent (file:///D:/H5/bin/libs/laya.core.js:13486:10)
 
at Scene3D.__proto._setParent (file:///D:/H5/bin/libs/laya.core.js:18511:31)
 
at Stage.__proto.addChild (file:///D:/H5/bin/libs/laya.core.js:13290:9)
 
at SceneManage.createScene (file:///D:/H5/bin/js/bundle.js:26107:20)
 
at BattleLoading.<anonymous> (file:///D:/H5/bin/js/bundle.js:18082:57)
 
at Handler.__proto.runWith (file:///D:/H5/bin/libs/laya.core.js:1399:59)
 
at LoaderManager.__proto._createOne (file:///D:/H5/bin/libs/laya.core.js:14594:25)
 
at LoaderManager.__proto._create (file:///D:/H5/bin/libs/laya.core.js:14560:9)

要回复问题请先

商务合作
商务合作