Search Issue Tracker

Fixed

Fixed in 6000.0.59f1, 6000.2.6f1, 6000.3.0b2, 6000.4.0a1

Votes

0

Found in

2022.3.61f1

6000.0.46f1

6000.1.0b14

6000.2.0a8

6000.3.0a1

6000.4.0a1

Issue ID

UUM-102663

Regression

No

FontAsset scale does not update UI Toolkit layout when set through code

-

How to reproduce:

1. Open the project “IN-98894_Font_scaling_UIToolkit”
2. Enter Play Mode
3. Click on the “50%” Button
4. Observe the Game window

Expected result: Text “This is a text. It has another line here” gets smaller
Actual result: Text “This is a text. It has another line here” stays the same size

Reproducible with: 2022.1.0a1, 2022.3.61f1, 6000.0.46f1, 6000.1.0b14, 6000.2.0a8

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

Note: Changes to the text can only be seen after an update such as resizing the Game window

  1. Resolution Note (fix version 6000.4.0a1):

    Added an API to explicitly mark text as Dirty

  2. Resolution Note (fix version 6000.3.0b2):

    Added an API to explicitly mark text as Dirty

  3. Resolution Note (fix version 6000.2.6f1):

    Added an API to explicitly mark text as Dirty

  4. Resolution Note (fix version 6000.0.59f1):

    Added an API to explicitly mark text as Dirty

Add comment

Log in to post comment