-
Notifications
You must be signed in to change notification settings - Fork 62
ConnectFailure occurs during the building C# code in Unity. #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
unfortunately no @And165KMT The Node.JS server is already waiting for reply for 10sec to allow cases where the Unity's main thread is on hold to then execute the code, but situations like compile block are not possible to solve with Unity in it's current form |
Today im experiencing the Server being closed every 3 minutes resulting in having to close vcode and start again. Its happening when AI is modifiying a script. |
I see, that is a bad workflow to work on |
@syntagmastudios I just pushed a fix for this issue with version 1.0.1 |
Thanks I'll test this right away!
…On Fri, Apr 25, 2025, 5:00 PM Miguel Tomas ***@***.***> wrote:
*CoderGamester* left a comment (CoderGamester/mcp-unity#18)
<#18 (comment)>
@syntagmastudios <https://github.com/syntagmastudios> I just pushed a fix
for this issue with version 1.0.1
Please check it out if it improves your workflow
—
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BK5U4VLISFE7FQM7LDSI25323I5XLAVCNFSM6AAAAAB3CD6XRSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMZQGUZDAMZWGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @CoderGamester , I'm very excited about this feature! I tried v1.0.1. When the build finished, the method with the |
@nowsprinting that is what is happening Now, the Node.JS MCP server will automatically reconnect the websocket after invoking another prompt call |
#25 approved and merged |
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[])
The text was updated successfully, but these errors were encountered: