We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c21758 commit 1b37698Copy full SHA for 1b37698
Editor/UnityBridge/McpUnityServer.cs
@@ -38,13 +38,10 @@ static McpUnityServer()
38
EditorApplication.quitting += Instance.StopServer;
39
40
// Auto-restart server after domain reload
41
- EditorApplication.delayCall += () =>
+ if (McpUnitySettings.Instance.AutoStartServer)
42
{
43
- if (McpUnitySettings.Instance.AutoStartServer)
44
- {
45
- Instance.StartServer();
46
- }
47
- };
+ Instance.StartServer();
+ }
48
}
49
50
/// <summary>
0 commit comments