Skip to content

Unity 6.3 LTS keeps crashing when MCP tools are being called #488

@ValiDraganescu

Description

@ValiDraganescu

The Editor crashes randomly when mcp tools are being called (probably they have incorrect values or something). I am using Claude Code but had the same issues earlier with Windsurf/Antigravity

The mcp server shows no errors

2025-12-27 12:20:11,999 - mcp.server.streamable_http_manager - INFO - Created new transport with session ID: 3af34d3cc794418c8e14fbe8673567fd
INFO:     ::1:60878 - "POST /mcp HTTP/1.1" 200 OK
INFO:     ::1:60878 - "POST /mcp HTTP/1.1" 202 Accepted
INFO:     ::1:60878 - "GET /mcp HTTP/1.1" 200 OK
INFO:     ::1:60908 - "POST /mcp HTTP/1.1" 200 OK
INFO:     ::1:60910 - "POST /mcp HTTP/1.1" 200 OK
INFO:     ::1:60913 - "POST /mcp HTTP/1.1" 200 OK
2025-12-27 12:20:35,928 - mcp.server.streamable_http_manager - INFO - Created new transport with session ID: 9677297299d446cfaf42755df5784d0e
INFO:     ::1:61001 - "POST /mcp HTTP/1.1" 200 OK
INFO:     ::1:61001 - "POST /mcp HTTP/1.1" 202 Accepted
INFO:     ::1:61001 - "GET /mcp HTTP/1.1" 200 OK
INFO:     ('::1', 61019) - "WebSocket /hub/plugin" [accepted]
INFO:     connection open
INFO:     ::1:61261 - "POST /mcp HTTP/1.1" 200 OK
INFO:     ::1:61261 - "POST /mcp HTTP/1.1" 200 OK
INFO:     ::1:61307 - "POST /mcp HTTP/1.1" 200 OK
INFO:     ::1:61348 - "POST /mcp HTTP/1.1" 200 OK
INFO:     ::1:61381 - "POST /mcp HTTP/1.1" 200 OK
INFO:     ::1:61381 - "POST /mcp HTTP/1.1" 200 OK

Claude code shows MCP response with "Python error managing GameObject: " with no meaningful error message

  ⎿  {                                     
       "success": true,
       "message": "Found 1 GameObject(s).",
     … +63 lines (ctrl+o to expand)

⏺ UnityMCP - manage_scene (MCP)(action: "get_hierarchy")
  ⎿  {                                                           
       "success": true,
       "message": "Retrieved hierarchy for scene 'SampleScene'.",
     … +3696 lines (ctrl+o to expand)

⏺ I can see the player has a child model HumanMale_Character_FREE. Let me check its Animator component:

⏺ UnityMCP - manage_gameobject (MCP)(action: "get_component", target: "HumanMale_Character_FREE", component_name: "Animator")
  ⎿  {                                                
       "success": false,
       "message": "Python error managing GameObject: "
     }

⏺ UnityMCP - manage_gameobject (MCP)(action: "get_components", target: "HumanMale_Character_FREE")
  ⎿  {                                                                                        
       "success": false,
       "message": "Python error managing GameObject: No Unity plugins are currently connected"
     }

⏺ Unity connection dropped. Let me check your existing PlayerAnimator controller to see what parameters it has:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions