Skip to content

Rebuild server doesn't work on Windows #342

@msanatan

Description

@msanatan

From Discord: https://discord.com/channels/1330955894296543364/1402494886254739496/1429679013546430527

On Windows we get this error trying to rebuild the server:

MCP-FOR-UNITY: Failed to delete existing server: Access to the path 'python.exe' is denied.
UnityEngine.Debug:LogError (object)
MCPForUnity.Editor.Helpers.McpLog:Error (string) (at C:/Users/[REDACTED]/Projects/unity-mcp/MCPForUnity/Editor/Helpers/McpLog.cs:30)
MCPForUnity.Editor.Helpers.ServerInstaller:RebuildMcpServer () (at C:/Users/[REDACTED]/Projects/unity-mcp/MCPForUnity/Editor/Helpers/ServerInstaller.cs:469)
MCPForUnity.Editor.Windows.MCPForUnityEditorWindow:OnRebuildServerClicked () (at C:/Users/[REDACTED]/Projects/unity-mcp/MCPForUnity/Editor/Windows/MCPForUnityEditorWindow.cs:607)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions