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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Play Mode Scenario selection/highlight is too long and out of its bounds when the Play Mode Scenario window is opened after maximizing
- Duplicated groups and incorrect grouping in UI Builder when using UxmlElementAttribute: libraryPath
- Asset name is not shown in the Undo History window when a sprite is modified
- Moving a Tab to a floating window fails when floating windows are docked next to each other
- Crash on UNITY_FT_Render_Glyph_Internal when Generating Font Atlas in the Font Asset Creator Window
Add comment