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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment