Search Issue Tracker

Fixed

Fixed in 6000.0.63f1, 6000.3.0b11, 6000.4.0a5, 6000.5.0a2

Votes

3

Found in

6000.0.61f1

6000.2.10f1

6000.3.0b8

6000.4.0a3

6000.5.0a1

Issue ID

UUM-124858

Regression

Yes

UI Toolkit rendered text breaks when toggling FontWeight styles through code

-

How to reproduce:

  1. Open the project “UTK-fontasset-fallback-bug.zip“
  2. Open the “FallbackFontBug“ Scene
  3. Enter Play Mode
  4. Press “Toggle Bold“ button in the Game view
  5. Observe the Console and the Game view

Expected result: Nothing is logged in the Console after step 4, text is rendered as before step 4
Actual result: Multiple warnings and errors are being spammed on each click, and the rendered text is broken

Reproducible in: 6000.0.54f1, 6000.0.61f1, 6000.2.10f1, 6000.3.0b8, 6000.4.0a3
Not reproducible in: 6000.0.53f1

Reproduced on: Windows 11 Pro (24H2), macOS 26.0.1 (By the reporter)
Not reproduced on: No other environment tested

Notes:

  • The most prominent errors and warnings are:

** “ArgumentException: The state of the provided MeshGenerationNode is invalid (entry isn't empty).“
** “NullReferenceException: Object reference not set to an instance of an object”
* “MeshGenerationContext is assigned to a VisualElement after calling 'UnityEngine.UIElements.UIR.MeshGenerationCallback”
The Text in the Game view breaks

  1. Resolution Note (fix version 6000.5.0a2):

    Fix thread issue with underline

  2. Resolution Note (fix version 6000.4.0a5):

    Fix thread issue when using matchMaterialPreset

  3. Resolution Note (fix version 6000.3.0b11):

    Fix thread issue with underline

  4. Resolution Note (fix version 6000.0.63f1):

    Fix thread issue with underline

Comments (2)

  1. dendyak

    Oct 29, 2025 11:16

    it never happens on 6000.0.44f1, and I found this on 6000.0.58f2

  2. dendyak

    Oct 29, 2025 11:12

    Same thing happening if you open any array list in Inspector. It does not happens if keep array lists closed.

Add comment

Log in to post comment