Search Issue Tracker

Active

Votes

0

Found in

2021.3.45f1

2022.3.52f1

6000.0.26f1

6000.1.0a3

7000.0.0a8

Issue ID

UUM-86733

Regression

No

Matching Game View creates unsaved changes even though nothing to save

--

-

*Steps to reproduce:*
# Open a Unity Project
# Create a new UI Document in the Project Window via Right-Click > Create > UI Toolkit > UI Document
# Open the new UI Document in UI Builder by double clicking on it
# In the UI Builder Hierarchy, select the .uxml file. The Inspector should show the Canvas Size settings
# Check the box next to 'Match Game View'

*Actual results:* The UI Builder Window detects unsaved changes and the Unsaved Changes Marker ( * ) is displayed.

However, nothing actually needs to be saved as changing the Canvas Size is auto saved in the Library (not on the uxml asset itself), and if you change the Canvas Size any other way (such as 'Fit Canvas' button or manually setting the values), then there is no unsaved changes.

If you try to exit the UI Builder Window, you will get an 'Unsaved Changes Detected' warning. However, pressing either Save or Discard will not affect anything as there are no changes to save, and even if you press Discard the Canvas Sizes and Match Game View checkbox will have been auto saved.

*Expected results:* The UI Builder Window does not detect unsaved changes when the 'Match Game View' box is ticked.

*Reproducible with versions:* 6000.1.0a3, 6000.0.26f1, 2022.3.52f1, 2021.3.45f1

*Not reproducible with versions:* - 

*Can’t test with versions:* - 

*Tested on (OS):* Windows 10/11

*Notes:* - 

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.