【Bug】加载蓝图

iOS_release
zhangaotian 2024-08-22 19:42:29 +08:00
parent 5c459447f5
commit 651870f891
1 changed files with 2 additions and 3 deletions

View File

@ -268,10 +268,10 @@ namespace Framework.Manager
} }
var buildData = await JsonHelper.LoadFromAddressable<BuildData>(buildConfig.BuildData); var buildData = await JsonHelper.LoadFromAddressable<BuildData>(buildConfig.BuildData);
await Init(buildData, true); await Init(buildData, true);
await Addressables.LoadSceneAsync(buildConfig.Path).ToUniTask(); await Addressables.LoadSceneAsync(buildConfig.Path).ToUniTask();
InitBlueprint();
if (lastBuildID is { Complete: true } && !_curBuildInfo.Complete) if (lastBuildID is { Complete: true } && !_curBuildInfo.Complete)
{ {
_userBuildInfo.CurBuildId = buildConfigId; _userBuildInfo.CurBuildId = buildConfigId;
@ -306,7 +306,6 @@ namespace Framework.Manager
InitUserBuildInfo(); InitUserBuildInfo();
InitCondition(); InitCondition();
await InitIcon(); await InitIcon();
InitBlueprint();
if (inGame) if (inGame)