打ab包时一个fgui的包对应一个ab包吗?不能全都打入一个包吗?

做项目的时候,我把所有的fgui包资源都打入了一个ab包,我从ab包加载一个面板,但这个面板依赖了多个fgui包,这些fgui包资源都打进了一个ab包中,我加载了这个ab包,但依旧包错:
LuaException: c# exception:System.Exception: Invalid child index: 0>0
at FairyGUI.GComponent.GetChildAt (System.Int32 index) [0x00024] in ......
如果我使用AddPackage一个一个加载依赖的fgui包资源就不会报这个错误
已邀请:

路妖姬

赞同来自:

解决了,原来还有提供了另一个接口,可解决这个问题
AddPackage(AssetBundle desc, AssetBundle res, string mainAssetName)
 

要回复问题请先登录注册