You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
High performance impact even when MCP server is off #577
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.
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.
@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).
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.
Activity
thomaswilliams02948 commentedon Jan 18, 2026
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.
fix(perf): eliminate GC spikes by preventing ProcessQueue allocation …
fix: eliminate UI stuttering caused by main thread blocking network c…
fix: eliminate UI stuttering caused by main thread blocking network c…
fix: eliminate UI stuttering caused by main thread blocking network c…
Scriptwonder commentedon Jan 19, 2026
@msanatan @dsarno definitely something need to look at.
dsarno commentedon Jan 19, 2026
Yes reviewing the PR and will resolve tomorrow.
dsarno commentedon Jan 19, 2026
@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).dsarno commentedon Jan 19, 2026
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.
fix: reduce per-frame GC allocations causing editor hitches (issue Co…
fix: prevent multiple domain reloads when calling refresh_unity (issue …
fix: reduce per-frame GC allocations causing editor hitches (issue Co…
fix: prevent multiple domain reloads when calling refresh_unity (issue …
docs: improve refresh_unity connection loss handling documentation
fix: comprehensive performance optimizations, claude code config, an…
dsarno commentedon Jan 21, 2026
Should be fixed in latest version. Please let me know if you continue to see the issue. Thanks for flagging.