diff --git a/UnityMcpBridge/Editor/Helpers/ServerInstaller.cs b/UnityMcpBridge/Editor/Helpers/ServerInstaller.cs index 0d8b162..129929d 100644 --- a/UnityMcpBridge/Editor/Helpers/ServerInstaller.cs +++ b/UnityMcpBridge/Editor/Helpers/ServerInstaller.cs @@ -39,7 +39,9 @@ namespace UnityMcpBridge.Editor.Helpers "src", "pyproject.toml" ); - string installedVersion = ParseVersionFromPyproject(pyprojectPath); + string installedVersion = ParseVersionFromPyproject( + File.ReadAllText(pyprojectPath) + ); string latestVersion = GetLatestVersion(); if (IsNewerVersion(latestVersion, installedVersion))