Skip to content

High performance impact even when MCP server is off #577

Closed

Description

@johnkslg
Image I'm seeing spikes of 28ms every one second, it looks like a ton of allocations happening. Makes my game hitch. Should at least turn off when mcp is off, as is I have to uninstall the package to remove that hitch.

Activity

  1. thomaswilliams02948 commented on Jan 18, 2026

    @thomaswilliams02948

    Im having the exact same issue, the game will stutter every second, even during editing mode, while dragging windows around or moving objects in the scene. Removing the mcp package eliminates the hiccups.

  2. added 4 commits that reference this issue on Jan 18, 2026
    c30ecfc
    919311e
    eb96cac
    a0a0c59
  3. added
    bug
    on Jan 19, 2026
  4. Scriptwonder commented on Jan 19, 2026

    @Scriptwonder
    Collaborator

    @msanatan @dsarno definitely something need to look at.

  5. dsarno commented on Jan 19, 2026

    @dsarno
    Collaborator

    Yes reviewing the PR and will resolve tomorrow.

  6. dsarno commented on Jan 19, 2026

    @dsarno
    Collaborator

    @thomaswilliams02948 @johnkslg Can you try again, making sure you are using latest MCP for Unity version (v9.0.8)? I put in a fix for this hitch like a week ago (#556), and have not been able to reproduce your profiler results in latest releases (at least on Mac -- haven't done full testing on Windows).

  7. dsarno commented on Jan 19, 2026

    @dsarno
    Collaborator

    Ok this is actually a separate hitch from the UI-related one I fixed, and the one addressed in #579. This has to do with the frequency that the Editor State cache is grabbed. I have a fix for this, may have to wait to tomorrow. Thanks for flagging this all.

  8. dsarno commented on Jan 21, 2026

    @dsarno
    Collaborator

    Should be fixed in latest version. Please let me know if you continue to see the issue. Thanks for flagging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions