We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 069f1be commit b1f696dCopy full SHA for b1f696d
MCPForUnity/Editor/Helpers/ServerInstaller.cs
@@ -480,6 +480,13 @@ private static void CopyUnityProjectTools(string destToolsDir)
480
// Get all .py files (excluding __init__.py)
481
var pyFiles = Directory.GetFiles(folder, "*.py")
482
.Where(f => !Path.GetFileName(f).Equals("__init__.py", StringComparison.OrdinalIgnoreCase));
483
+
484
+ // Skip folders with no .py files
485
+ if (!pyFiles.Any())
486
+ {
487
+ skippedCount++;
488
+ continue;
489
+ }
490
491
foreach (var pyFile in pyFiles)
492
{
0 commit comments