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
NullReferenceException in ScheduleHealthCheck #417
NullReferenceException occurs in MCPForUnityEditorWindow.ScheduleHealthCheck() when the window is closed but delayed callback still executes.
Stack Trace
NullReferenceException: Object reference not set to an instance of an object
MCPForUnity.Editor.Windows.MCPForUnityEditorWindow.<ScheduleHealthCheck>b__12_0 () (at ./Library/PackageCache/com.coplaydev.unity-mcp@81ef4be7614d/Editor/Windows/MCPForUnityEditorWindow.cs:170)
Problem
Line 170 uses await connectionSection?.VerifyBridgeConnectionAsync();
The null-conditional operator ?. returns null, but await null throws NullReferenceException.
Activity
dsarno commentedon Dec 4, 2025
@Drwuu thanks! Fixed in #422.