Steps to reproduce:
- Open Unity Hub and select "Projects"
- Click "Add" and choose "Add project from disk"
- In the file picker that opens, press "Cancel"
- Read the dialog that appears
Actual results: A dialog appears titled "Project failed to open", with the body
could not be opened. Please check the logs.
Two problems in one dialog. Nothing was opened, because the user cancelled before choosing anything, so there is no failure to report. And the message has no project name: the sentence begins mid-clause with a lowercase "could", which is where a name should be, so it does not say what failed.
The dialog also offers "Open log folder", directing the user to investigate a failure that did not occur.
Expected results: Cancelling the file picker closes it and returns to the Projects list with no dialog. If an open ever does fail, the message names the project that failed.
Reproducible with versions: Unity HUB 3.22.0-beta.1
Not reproducible with versions: Unity HUB 3.21.3
Tested on (OS): MacBook Pro - Tahoe 26.6.2