Skip to content

Commit 64a3bc6

Browse files
committed
Fix: resolve Unity warnings by ensuring asset name match and removing redundant import
1 parent 39c73cb commit 64a3bc6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

MCPForUnity/Editor/Tools/ManageScriptableObject.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Globalization;
4+
using System.IO;
45
using System.Linq;
56
using System.Reflection;
67
using MCPForUnity.Editor.Helpers;
@@ -171,7 +172,7 @@ private static object HandleCreate(JObject @params)
171172
AssetDatabase.CreateAsset(instance, finalPath);
172173
}
173174

174-
AssetDatabase.ImportAsset(finalPath);
175+
// AssetDatabase.ImportAsset(finalPath);
175176
}
176177
catch (Exception ex)
177178
{

0 commit comments

Comments
 (0)