Search Issue Tracker

Active

Votes

0

Found in

2.2.0-pre.1

Issue ID

UUM-137231

Regression

No

ReadConsole MCP tool throws an error when used by an AI client

AI Assistant

-

How to reproduce:
1. Download, install and configure an MCP-compatible AI client
2. Open the attached project “IN-136796”
3. Open “Project Settings → AI → MCP Servers” and ensure that the “Enable MCP Tools” option is enabled
4. Open “Project Settings → AI → Unity MCP → Tools → Debug & Diagnostics” and ensure that the “Unity_ReadConsole” option is enabled
5. Open the AI client and approve the connection inside of the Editor
6. In the AI client, send a prompt which would use the ReadConsole tool
7. Observe the Console in the Editor

Actual result: “[ReadConsole] HandleCommand called but reflection members are not initialized. Static constructor might have failed silently or there's an issue.” error is thrown in the Console
Expected result: ReadConsole tool is used without errors

Reproducible with: 2.2.0-pre.1 (6000.3.11f1)
Not reproducible with: 2.2.0-pre.1 (6000.4.0f1, 6000.6.0a1)
Could not test with: 2.1.0-pre.1 (could not approve MCP connection)

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Notes:
- Tested with Cursor and Claude desktop applications
- Prompt used for testing: “Use the Unity ReadConsole MCP tool”
- Documentation page on setting up the AI client: Get started with Unity MCP

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.