We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
//记录所有加载路径 HashSet allAssetLoadPath = new HashSet(); //构建所有分包 foreach (AssetsSetting assetsSetting in assetsSettings) { if (assetsSetting != null) { if (assetsSetting is AssetsLoadSetting) { //获取单个Bundle的配置文件 Build(assetLoadTable, assetsSetting as AssetsLoadSetting, allAssetLoadPath, alwaysIncludedShaders); } else { //处理原生资源 AnalysisOriginFile(assetLoadTable, assetsSetting as AssetsOriginSetting);
} } }
下载demo之后只保留两个分包配置但是assetsSettings有四个元素,断点发现有2个空指针
The text was updated successfully, but these errors were encountered:
搜索AssetLoadTable这个文件,在Assets Settings 设置里肯定有空的分包配置, 正常来讲如果是只通过界面操作是不会出现这种情况的,你应该是手动修改了AssetLoadTable
Sorry, something went wrong.
No branches or pull requests
//记录所有加载路径
HashSet allAssetLoadPath = new HashSet();
//构建所有分包
foreach (AssetsSetting assetsSetting in assetsSettings)
{
if (assetsSetting != null)
{
if (assetsSetting is AssetsLoadSetting)
{
//获取单个Bundle的配置文件
Build(assetLoadTable, assetsSetting as AssetsLoadSetting, allAssetLoadPath, alwaysIncludedShaders);
}
else
{
//处理原生资源
AnalysisOriginFile(assetLoadTable, assetsSetting as AssetsOriginSetting);
下载demo之后只保留两个分包配置但是assetsSettings有四个元素,断点发现有2个空指针
The text was updated successfully, but these errors were encountered: