How to reproduce:
- Create a new project
- Install the Assistant package
- Open “Project Settings → AI → Assistant MCP Extensions” and ensure that the “Enable MCP Tools” option is enabled
- Configure and launch an AI client
- Open “Project Settings → AI → Unity MCP Server” and ensure that the connection from the AI client is approved
- In the AI client, send a prompt which would use one of the available tools
- Observe the AI client response
Actual result: Using the tool fails and connection shows up as revoked
Expected result: The tool is used successfully
Reproducible with: 2.7.0-pre.1 (6000.6.0a4)
Not reproducible with: 2.6.0-pre.1 (6000.6.0a4)
Reproducible on: Windows 11
Not reproducible on: No other enviornments tested
Notes:
- Tested using Cursor as the AI client
- Prompt used for testing: “Use the manage game object tool from unity, provide the raw response”
- Response from AI client: “
{ "success": false, "error": "Connection revoked. Go to Unity Editor > Project Settings > AI > Unity MCP to change approval." }
”