Creator Companion says "Unity Hub was not found" even though Unity Hub is installed
available in future release
Haxy
LLM Output:
Versions: VCC 2.5.0 (portable), Unity Hub 3.21.0, Windows 11
Problem: In onboarding, clicking "I have installed the Unity Hub" always shows "Unity Hub was not found". /api/info/unityHubExists returns false.
Cause: When pathToUnityHub is empty, UnityEditorList.GetUnityHubPath() reads HKLM\SOFTWARE\Classes\unityhub\DefaultIcon and passes the raw value to File.Exists(). That value includes quotes and an icon index:
"C:\Program Files\Unity Hub\Unity Hub.exe",0
So File.Exists() is always false. GetFromHub() (--headless editors -i) and GetHubVersion() fail silently for the same reason. As a result, editors installed outside %ProgramFiles%\Unity\Hub\Editor aren't detected.
Editors in the default folder still show up because GetFromHubDirectory() scans that folder directly. The "Loaded N editors from Unity Hub" log line is misleading, since those editors don't come from the Hub.
Fix: Remove the ,<index> suffix and the quotes from the registry value before using it.
Log In
This post was marked as
available in future release

orels
updated the status to
in progress

orels
updated the status to
tracked