Search Issue Tracker

Active

Votes

1

Found in

2020.3

2021.2.13f1

2021.3

2022.1

2022.2

Issue ID

1422500

Regression

No

"Null" is logged when printing "VisualElement.style" properties

UI Toolkit Framework

-

How to reproduce:
1. Open project "Test project 1.zip"
2. Enter Play Mode and observe the Console window

Expected result: "flex" is logged
Actual result: "Null" is logged

Reproducible with: 1.0.0-preview.18 (2020.3.36f1), 1.0.0 (2021.3.4f1, 2022.1.5f1, 2022.2.0a17)
Could not test with: 2019.4.40f1 (Errors after project downgrade)

Reproduced on: macOS 11.6 (Intel)

Notes:
- Not reproducible when debugging just "VisualElement.style"
- Reproducible with style's display, backgroundColor, color, height, fontSize, alignContent, marginBottom, opacity
- Also reproducible with other Containers

Add comment

Log in to post comment