Search Issue Tracker

Not Reproducible

Votes

0

Found in

3.17.2

Issue ID

UUM-140268

Regression

No

"Repository name" field and "slug preview" don't have correct validation and become inconsistent when unsupported characters are entered

Hub App

-

Steps to reproduce:

  1. Open Unity Hub
  2. Click "+ New project"
  3. In the "Source control provider" select "GitHub" or "GitLab"
  4. In the "Repository name" enter a valid name, like "test" (or use the one already there)
  5. Add "+" symbols after the name
  6. Observe the "Slug preview" does not contain the symbols
  7. Enter any valid character, such as a letter or number
  8. Observe both fields refresh and remove unsupported symbols
  9. Repeat 5th step 
  10. Create the project
  11. Observe the repository name

Actual results: Unsupported characters are not validated immediately, unlike other fields such as Project name. They are only removed after a subsequent valid character is entered; if the project is created before that refresh, GitHub removes the characters automatically, while GitLab fails creation and shows a provider error.

Expected results: Unsupported characters should be handled consistently with other fields, either by showing immediate validation feedback or by being removed as soon as they are entered

Reproducible with versions: 3.17.2

Tested on (OS): Ubuntu 24.04

Notes:

  • GitHub and GitLab have different outcomes, GitHub handles it automatically while GitLab shows error (after further testing could not reproduce this error again): 

{code:java}
"Failed to create GitLab repository. project_namespace.path: can only include non-accented letters, digits, '', '-' and '.'. It must not start with '-', '', or '.', nor end with '-', '.', '.git', or '.atom'.; path: can only include non-accented letters, digits, '', '-' and '.'. It must not start with '-', '', or '.', nor end with '-', '.', '.git', or '.atom'."{code}

  1. Resolution Note:

    Thank you for reporting a bug to Unity.

    We have investigated the issue but were unable to reproduce it with the information provided. This can happen due to differences in environment, project setup, or steps taken.

    We will close this case for now. If you're able to share additional details such as different projects, steps, hardware/software configuration, or logs - please let us know, and we'll be happy to re-evaluate.

  2. Resolution Note:

    Thank you for reporting a bug to Unity.

    We have investigated the issue but were unable to reproduce it with the information provided. This can happen due to differences in environment, project setup, or steps taken.

    We will close this case for now. If you're able to share additional details such as different projects, steps, hardware/software configuration, or logs - please let us know, and we'll be happy to re-evaluate.

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.