Skip to content

ConnectFailure occurs during the building C# code in Unity. #18

Closed
@And165KMT

Description

@And165KMT

mcp calls script when the server is not accepting connections (such as during compilation), the process is interrupted. Is there a way to avoid it, such as by waiting?

Use VSCode Copilot Agent

Error Code
Failed to ensure server installation: Error: ConnectFailure (接続済みの呼び出し先が一定の時間を過ぎても正しく応答しなかったため、接続できませんでした。または接続済みのホストが応答しなかったため、確立された接続は失敗しました。

UnityEngine.Debug:LogError (object)
UnityMcpBridge.Editor.Helpers.ServerInstaller:EnsureServerInstalled () (at ./Library/PackageCache/com.justinpbarnett.unity-mcp@cbe9b3a2f0/Editor/Helpers/ServerInstaller.cs:48)
UnityMcpBridge.Editor.UnityMcpBridge:Start () (at ./Library/PackageCache/com.justinpbarnett.unity-mcp@cbe9b3a2f0/Editor/UnityMcpBridge.cs:63)
UnityMcpBridge.Editor.UnityMcpBridge:.cctor () (at ./Library/PackageCache/com.justinpbarnett.unity-mcp@cbe9b3a2f0/Editor/UnityMcpBridge.cs:53)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions