Skip to content

Unity MCP fails with "Invalid JSON format" error when creating C# scripts larger than ~2000 bytes. #136

@bizzeu

Description

@bizzeu

Error Details
Failed to communicate with Unity: Invalid JSON format
Client handler error: Unable to read data from the transport connection

Question: Is this a known limitation? Is there a workaround or planned fix?

Environment: Unity 2022.3 LTS, latest Unity MCP version, Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions