Skip to content

Claude having issues editing scripts #183

@samueltpark

Description

@samueltpark

Recently while having Claude edit scripts I've been running into this issue sequence:

  1. Claude tries editing a script
  2. An error message pops up in Unity console (See example image below)
  3. Something goes wrong so Claude automatically tries editing the script again
  4. Still doesnt work so Claude tries recreating the entire script
  5. Fails again and the script gets deleted and Claude says that the script got corrupted

Claude can still successfully:

  • Read scripts
  • Create new scripts
  • Provide you the code changes it was trying to implement for a human to manually update a script with

Console Error Example Image:

Image

Claude of course blames the MCP. What do you guys think? Is this a limitation of the MCP or is there some sort of "MCP Update" that I need?

If additional information/testing is needed let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions