From 1e8862aa4bb80a557fe0ed6ad7e89ce4c0fe4071 Mon Sep 17 00:00:00 2001 From: Shutong Wu <1300285021@qq.com> Date: Mon, 7 Jul 2025 15:43:34 -0400 Subject: [PATCH] Update ManageAsset.cs --- UnityMcpBridge/Editor/Tools/ManageAsset.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/UnityMcpBridge/Editor/Tools/ManageAsset.cs b/UnityMcpBridge/Editor/Tools/ManageAsset.cs index 84af347..527ef88 100644 --- a/UnityMcpBridge/Editor/Tools/ManageAsset.cs +++ b/UnityMcpBridge/Editor/Tools/ManageAsset.cs @@ -893,6 +893,7 @@ namespace UnityMcpBridge.Editor.Tools } } else if (properties["_Color"] is JArray colorArr) //Current Prevention for systems that use _Color instead of color { + string propName = colorProps["name"]?.ToString() ?? "_Color"; // Default main color try { if (colorArr.Count >= 3) {