Search Issue Tracker

Fixed in 3.18.1-beta.1

Votes

0

Found in

3.17.2

Issue ID

UUM-140397

Regression

No

"Add project from repository" fields are not reset or disabled when Personal Access Token is disconnected during repository detection

Hub App

-

Steps to reproduce:

  1. Open Unity Hub
  2. In the Projects tab, click Add > Add from repository
  3. Select Gitub or GitLab as Source control provider and Authorize token
  4. Select any repository
  5. Disconnect the Personal Authorization Token
  6. Observe "Detecting Unity projects..." with loading indicator is shown
  7. While it is still loading, click on "Add project" button
  8. Observe the task appears in Hub
  9. Try to cancel the task
  10. Observe the behavior

Actual results: The task appears stuck and cannot be canceled. The "Add project" button remains active after the token is disconnected, and if the button is not clicked, Hub shows "Failed to detect Unity projects in this repository and branch."

Expected results: Disconnecting the token should immediately reset and disable all dependent fields, including the "Add project" button and a clearer error message should be shown

Reproducible with versions: 3.17.2

Tested on (OS):  macOS 26.4, Ubuntu 24.04

Notes:

  • The error "Failed to detect Unity projects in this repository and branch." is not very informative in this case. A message such as "Personal access token is no longer valid. Please reauthorize to continue." would better reflect the actual problem

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.