From 7b3b562c729e79d562da88f1ba40c7cd2a85f1bf Mon Sep 17 00:00:00 2001 From: Scriptwonder <1300285021@qq.com> Date: Tue, 8 Jul 2025 02:37:08 -0400 Subject: [PATCH] Update ManageAsset.cs Silly mistake I made with a rush to fix the previous bug, will be more cautious and run through the test in the future. --- UnityMcpBridge/Editor/Tools/ManageAsset.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnityMcpBridge/Editor/Tools/ManageAsset.cs b/UnityMcpBridge/Editor/Tools/ManageAsset.cs index 527ef88..63d8f0b 100644 --- a/UnityMcpBridge/Editor/Tools/ManageAsset.cs +++ b/UnityMcpBridge/Editor/Tools/ManageAsset.cs @@ -893,7 +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 + string propName = "_Color"; // Default main color try { if (colorArr.Count >= 3) {