-
Notifications
You must be signed in to change notification settings - Fork 693
Description
Version: MCP for Unity v9.0.3
Description:
The "System Requirements" panel shows "UV Package Manager: Not Found" even when the UV Path override is correctly configured in Advanced Settings and the server launches successfully.
Expected Behavior:
When a valid UV path override is set in Advanced Settings (showing green indicator), the System Requirements check should recognize UV as available.
Actual Behavior:
Advanced Settings shows UV Path with green indicator ✓
Server starts and runs perfectly ✓
System Requirements still shows "Not Found" with red indicator ✗
Warning message "Missing dependencies" is displayed
Root Cause:
PlatformDetectorBase.DetectUv() only tries bare uvx/uv commands via PATH and doesn't use PathResolverService.GetUvxPath() which respects the override.
Code References:
PathResolverService.GetUvxPath() correctly checks EditorPrefs.GetString(EditorPrefKeys.UvxPathOverride) first
PlatformDetectorBase.TryFindUvInPath() hardcodes new[] { "uvx", "uv" } as bare commands without checking the override
Steps to Reproduce:
Install UV to a non-PATH location (e.g., C:\Users.local\bin\uvx.exe)
Set UV Path override in Advanced Settings → shows green dot
Open MCP Setup window → System Requirements shows "Not Found"
Click Start Server → server runs successfully despite the warning
Suggested Fix:
Have DetectUv() call MCPServiceLocator.Paths.GetUvxPath() to get the executable path (which respects overrides) instead of only trying bare commands.