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
Hello! Is there a way to reload the unity editor using the unity mcp? Ideally I can have it reload so that I can have it read the logs again for development work that doesn't involve the scene as much.
There's no dedicated mcp command for reloading Unity, but you can trigger a reload by using manage_script to make some trivial change to any script, and that will force a reload. You can immediately use mcp to read console after that.
I'm gonna close this since this is a pretty good workaround solution and I don't think we're going to do a reload command in the short term.
Activity
Scriptwonder commentedon Jul 6, 2025
Are you thinking something like this? https://docs.unity3d.com/ScriptReference/AssetDatabase.Refresh.html
dsarno commentedon Aug 11, 2025
There's no dedicated mcp command for reloading Unity, but you can trigger a reload by using
manage_scriptto make some trivial change to any script, and that will force a reload. You can immediately use mcp toread consoleafter that.I'm gonna close this since this is a pretty good workaround solution and I don't think we're going to do a reload command in the short term.