From d7c190fccff788a6698629aa693df57fab264fc3 Mon Sep 17 00:00:00 2001 From: NTG Date: Mon, 18 Aug 2025 16:26:16 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=8C=EC=9E=84=20=EB=A7=A4=EB=8B=88?= =?UTF-8?q?=EC=A0=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/_DDD/_Scripts/GameFramework/GameManager.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Assets/_DDD/_Scripts/GameFramework/GameManager.cs b/Assets/_DDD/_Scripts/GameFramework/GameManager.cs index ffe6dc34b..38950be6a 100644 --- a/Assets/_DDD/_Scripts/GameFramework/GameManager.cs +++ b/Assets/_DDD/_Scripts/GameFramework/GameManager.cs @@ -1,3 +1,4 @@ +using System; using System.Collections.Generic; using System.Threading.Tasks; using UnityEngine; @@ -11,13 +12,20 @@ public class GameManager : Singleton private List _managerInstances; - protected override void OnAwake() + protected override async void OnAwake() { base.OnAwake(); EventBus.ClearAll(); - _ = Initialize(); + try + { + await Initialize(); + } + catch (Exception e) + { + Debug.LogError(e); + } } private async Task Initialize()