Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X

Votes

0

Found in

2022.3.60f1

6000.0.42f1

6000.1.0b10

6000.2.0a6

Issue ID

UUM-101476

Regression

No

A different Font Asset is applied when the original Font Asset is deleted while UI Builder is open

-

How to reproduce:

1. Open the project "IN-97269_FontAssetReassignment"
2. In the Project window, open "buttons.uxml"
3. In the UI Builder window, click on "Button 2"
4. In the Project window delete "SecondAsset.asset"
5. Observe UI Builders Inspector -> Text -> Font Asset

Expected result: Font Asset field is assigned to none
Actual result: Font Asset field is assigned to another Font Asset in the project

Reproducible with: 2022.1.0a1, 2022.3.60f1, 6000.0.42f1, 6000.1.0b10, 6000.2.0a6

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Notes:

* When the Font Asset is automatically reassigned, it does not work until manually switching it to some other Font Asset (or None) and switching back
* When deleting the last Font Asset in the project, instead of assigning None it assigns Missing
* The Font Asset reassigns to the first buttons Font Asset if it has an Font Asset, if it doesn’t then it goes to the next button until it has a Font Asset
* The button keeps a reference to the original Font Asset, if a new Font Asset is made with the same name as the one that was deleted it automatically assigns it to the Font Asset field

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.