Steps to reproduce:
- Open Unity Hub
- Delete all projects from the Projects tab
- Press the "Import projects" tab
- Select any project directory in the prompt, or
- Select any directory (except the parent directories) in the prompt
- Press "Open"
- Observe the Hub
Actual results: The directory is not added to the list and nothing indicates what went wrong
Expected results: Some information is displayed for what went wrong
Reproducible with versions: 3.18.0
Tested on (OS): Windows 11 Pro (25H2)
Notes:
- To make it clear what the button does, one of these should be expected:
- A warning/error is thrown when an invalid directory is selected
- A single selected project is parsed as a valid project to import
- A tooltip is displayed when hovering over the 'Import Projects' button