Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MCPForUnity/Editor/Services/IPackageUpdateService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public interface IPackageUpdateService
/// Returns a cached update result if one exists for today, or null if a network fetch is needed.
/// Main-thread only (reads EditorPrefs).
/// </summary>
UpdateCheckResult? TryGetCachedResult(string currentVersion);
UpdateCheckResult TryGetCachedResult(string currentVersion);

/// <summary>
/// Performs only the network fetch and version comparison (no EditorPrefs access).
Expand Down
2 changes: 1 addition & 1 deletion MCPForUnity/Editor/Services/PackageUpdateService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public UpdateCheckResult CheckForUpdate(string currentVersion)
}

/// <inheritdoc/>
public UpdateCheckResult? TryGetCachedResult(string currentVersion)
public UpdateCheckResult TryGetCachedResult(string currentVersion)
{
bool isGitInstallation = IsGitInstallation();
string gitBranch = isGitInstallation ? GetGitUpdateBranch(currentVersion) : "main";
Expand Down
3 changes: 1 addition & 2 deletions MCPForUnity/Editor/Tools/ManageScene.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1713,8 +1713,7 @@ private static object ValidateScene(bool autoRepair)
}

var prefabStatus = PrefabUtility.GetPrefabInstanceStatus(go);
if (prefabStatus == PrefabInstanceStatus.MissingAsset ||
prefabStatus == PrefabInstanceStatus.Disconnected)
if (prefabStatus == PrefabInstanceStatus.MissingAsset)
{
brokenPrefabs++;
if (issues.Count < maxIssues)
Expand Down