v2.28.2 — Codex CLI compatibility (stdout hygiene)
Fixed
- MCP JSON-RPC framing corrupted by debug logs on stdout — Two
console.debug(...)call sites insrc/unity-editor-bridge.js(queue submit log) andsrc/tool-tiers.js(lazy-load log) wrote diagnostic lines to stdout, which the MCP stdio transport reserves exclusively for JSON-RPC messages. Strict clients (Codex CLI) closed the transport on the first non-JSON chunk; lenient clients (Claude Desktop, Claude Code) tolerated it, which is why the bug escaped earlier detection. Both call sites now useconsole.error(...)so logs go to stderr.
Closes
- #11 (Windows Codex transport closes after successful Unity MCP connect on read-only tool calls)
Full Changelog: v2.28.1...v2.28.2