Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
1
Found in
2019.4
2019.4.0f1
2020.2
Issue ID
1258959
Regression
No
GetStyleLength sets StyleLength value unit from Percent to Pixel
Reproduction steps:
1. Open attached project "LengthUnit.zip" and scene "SampleScene"
2. Enter Play Mode
3. Observe Console window
Expected result: VisualElement's property's value's unit is "Percent"
Actual result: VisualElement's property's value's unit is "Pixel"
Reproducible with: 2019.4.2f1, 2020.1.0b14, 2020.2.0a16
Could not test with: 2018.4.24f1 (UIElements namespace does not exist)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
- New selector in Matching Selectors displays as on line -1 in debugger
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a19
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.5f1