From 97304b4f36fd41b686f5d4b6c7ba1f5a25cb0400 Mon Sep 17 00:00:00 2001 From: Harrison Date: Tue, 9 Jan 2024 10:43:55 +0200 Subject: [PATCH] chore: changed to warning and use sdk logger --- Runtime/Core/Scripts/CoreSettingsHandler.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Runtime/Core/Scripts/CoreSettingsHandler.cs b/Runtime/Core/Scripts/CoreSettingsHandler.cs index ba0b578d..97a67df0 100644 --- a/Runtime/Core/Scripts/CoreSettingsHandler.cs +++ b/Runtime/Core/Scripts/CoreSettingsHandler.cs @@ -5,6 +5,7 @@ namespace ReadyPlayerMe.Core { public static class CoreSettingsHandler { + private const string TAG = nameof(CoreSettingsHandler); private const string RESOURCE_PATH = "Settings/CoreSettings"; public static CoreSettings CoreSettings { @@ -14,7 +15,7 @@ public static CoreSettings CoreSettings coreSettings = Load(); if (coreSettings == null) { - Debug.LogError("CoreSettings could not be loaded."); + SDKLogger.LogWarning(TAG, "CoreSettings could not be loaded."); } return coreSettings; }