CoplayDev/unity-mcp

GPT-5 not working with MCP?

Closed this issue · 4 comments

So Cursor just released GPT5 model, and modifying .md files, or creating blank scripts works fine. But when I try to write with it, it gets stuck like the screenshot attached.

Image

@mauricin I'd be curious if you got the same issue with the update I just proposed as a PR, which includes a bunch of stuff that tries to prevent MCP from getting stuck. You can test it by changing one line in your manifest.json file in Unity. I put the instructions in this message in the repo's Discord

@mauricin I'd be curious if you got the same issue with the update I just proposed as a PR, which includes a bunch of stuff that tries to prevent MCP from getting stuck. You can test it by changing one line in your manifest.json file in Unity. I put the instructions in this message in the repo's Discord

I guess the fix is the message found @ mcp-general ? Sorry, for some reason clicking the shortcut link you put there doesn't bring me anywhere. I'll confirm before doing anything, and share the results gladly. Thank you for the quick reply!

Yes, that's the message. Thank you!

I just finished an update that should fix many/most/hopefully all port error and connection issues on both Mac and PC. It would be fantastic if a few of you could test it out before we actually merge it into the main repo. If you have a few minutes, your help would be super appreciated.

**Instructions:
**

  • To Install the update, you don't need to do anything with git / repos / pulling. Just change one line in your Unity projects manifest.json file:
    "com.justinpbarnett.unity-mcp": "https://github.com/dsarno/unity-mcp.git?path=/UnityMcpBridge#feat/bridge-stability"

** In Unity:**
-- Open Window → Unity MCP. Confirm the bridge starts (e.g., “UnityMcpBridge started on port 6400”).
-- If needed, click “Repair Python Env” once to rebuild the server venv (uses uv).
-- Click “Auto‑Setup” (button shows “Connected ✓” when clients are configured).

From your IDE (Cursor/Claude/VSCode):
-- Run a simple MCP call (e.g., read_console). Make a trivial code change to trigger a domain reload and confirm the connection remains stable, with the same port.

Then when you're done, just revert back to the default repo whenever you want:
"com.justinpbarnett.unity-mcp": "https://github.com/CoplayDev/unity-mcp.git?path=/UnityMcpBridge"

Yes, that's the message. Thank you!

I just finished an update that should fix many/most/hopefully all port error and connection issues on both Mac and PC. It would be fantastic if a few of you could test it out before we actually merge it into the main repo. If you have a few minutes, your help would be super appreciated.

**Instructions: **

  • To Install the update, you don't need to do anything with git / repos / pulling. Just change one line in your Unity projects manifest.json file:
    "com.justinpbarnett.unity-mcp": "https://github.com/dsarno/unity-mcp.git?path=/UnityMcpBridge#feat/bridge-stability"

** In Unity:** -- Open Window → Unity MCP. Confirm the bridge starts (e.g., “UnityMcpBridge started on port 6400”). -- If needed, click “Repair Python Env” once to rebuild the server venv (uses uv). -- Click “Auto‑Setup” (button shows “Connected ✓” when clients are configured).

From your IDE (Cursor/Claude/VSCode): -- Run a simple MCP call (e.g., read_console). Make a trivial code change to trigger a domain reload and confirm the connection remains stable, with the same port.

Then when you're done, just revert back to the default repo whenever you want: "com.justinpbarnett.unity-mcp": "https://github.com/CoplayDev/unity-mcp.git?path=/UnityMcpBridge"

After doing as you said, seems that everything is working.