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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
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