Search Issue Tracker

Active

Votes

1

Found in

Not Applicable

Issue ID

UUM-145863

Regression

No

Improve error messages when shelving

Unity Version Control

-

Steps to reproduce:

  1. Change your Shelve & Switch settings to one of the "Allow" settings (e.g., Allow or Allow, showing a warning).
  2. Create a branch from your main branch.
  3. Make changes to an existing file in your workspace.
  4. Manually create a shelf from your pending changes, making sure to select the option to keep them in pending changes.
  5. Attempt to switch back to the main branch.

Actual results:

The following error message is displayed:

"Cannot perform the switch to branch/label/changeset/shelve since there are pending changes. Please review the pending changes and retry the operation again."

Expected results:

A more concise error message that still differentiates the file state, like the following, should be displayed:

"Cannot perform the switch because there are checked-out files in your workspace. Please review your checked-out files, undo the checkouts, and retry the operation."

Reproducible with versions:

11.0.16.9973

Tested on (OS):

Windows

Comments (2)

  1. jlemosz

    Jun 26, 2026 16:20

    Thank you for your feedback. The word 'explicitly' has been removed.

  2. jasonpierce

    Jun 26, 2026 13:25

    I might not put the word "explicitly" in there. Shelving and unshelving can check out files for you without you explicitly doing it. This has confused us in the past because it's easy not to notice it happening.

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.