Search Issue Tracker

Duplicate

Votes

1

Found in

2020.3.48f1

2021.3.24f1

2022.2.18f1

2023.1.0b15

2023.2.0a13

Issue ID

UUM-35106

Regression

No

[UI Toolkit] getting warnings when the USS file gets auto-added to the font-definition entry

--

-

Reproduction steps:
1. Create a new Project
2. Import attached “uss_file“
3. Observe the Console window

Expected result: No errors are seen in the Console window and the USS file is not auto-added to the font-definition entry
Actual result: Warning “Assets/IN-39670_Ayna_Runtime_Styles_VS.uss (line 298): warning: Expected (<resource> | <url>) but found 'none'“ is seen

Reproducible with: 2020.3.48f1, 2021.3.24f1, 2022.2.18f1, 2023.1.0b15, 2023.2.0a13

Reproduced on: Windows 10 Enterprise 21H2

Notes:

* The USS file gets auto-added to the font-definition entry
* 2020.3.48f1 shows unknown property warnings instead of the “Assets/IN-39670_Ayna_Runtime_Styles_VS.uss (line 298): warning: Expected (<resource> | <url>) but found ‘none'“, but I assume it’s because USS file is auto-added to the font-definition entry so marked this version as reproducible

  1. Resolution Note:

    The issue was resolved and backported to 2021.3 version. Updating to a more recent version of the editor might be required to access the fix.
    Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-16426

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.