Description
Hub can't be opened from Editors (versions 2022 and 2023):
When Hub is not running and user makes an IPC call (log in, open project, manage license etc.) then "Install Unity Hub" window opens.
Repro Steps
List of the verifications:
Windows and MacOS
Editor 2022 and 2023
- Log in - Hub started, but "Install Unity Hub" window opens
- Manage license - Hub started, but "Install Unity Hub" window opens
- Open Project - Hub started, but Editor opens it's file manager
Editor 2020 and 2021
- Log in - Hub opens (expected behavior)
- Manage license - Hub opens (expected behavior)
- Open Project - Hub opens (expected behavior)
Linux
All Editor versions have the same behavior
- Log in - Hub not started, but "Install Unity Hub" window opens
- Manage license - Hub not started, but "Install Unity Hub" window opens
- Open Project - Hub not started, but Editor opens it's file manager
How to reproduce
- Create a project
- Quit Hub (use tray menu to actually quit, and not close)
- In Editor try to do one of the following: log in / open project (File > Open Project) / manage license (Unity > Manage license)
Expected result
Hub started, user logs in/project list opens/license management modal opens
Actual result
Editor opens file manager or popup asking to install Unity Hub
Workaround
Relaunch the Hub manually
Environment
- 2022.1.0a6, 2023.2.0a6
- Not reproducible with:* 2022.1.0a5
Video
See attached video (Editor 2022 vs Editor 2020 behavior on MacOS):
[^Untitled_ Mar 2, 2023 2_37 PM.webm]
Details: Hub actually starts, i.e. it receives health:check, config:get, connectedInfo:get, userInfo:get , orgInfo:get events, but the one that triggers showing the Hub window (window:show) is not received.