Search Issue Tracker
Fixed in 1.0.0-preview.12
Votes
0
Found in [Package]
1.0.0-preview.11
Issue ID
1297805
Regression
No
UxmlFloatAttributeDescription and UxmlDoubleAttributeDescription are using locale settings instead of CultureInvariant
Reproduction steps:
1. Open Control Panel/ Region
2. In the Format dropdown menu, select German (Germany)
3. Select Additional Settings and set comma as decimal symbol
4. Apply the changes and open attached "case_1297805.zip" project
5. Select Window/UI Toolkit/UI Builder
6. In the Library window, select Project and expand Custom Controls (C#)/CustomDrawnVE_double
7. In the UI Builder Inspector, set Thickness to 1.1
8. Observe the value in UXML Preview
Expected result: Decimal symbol is a dot
Actual result: Decimal symbol is a comma
Reproducible with: 1.0.0-preview.1 - 1.0.0-preview.11(2019.4.16f1, 2020.1.17f1, 2020.2.0f1), built-in(2021.1.0a10)
Not reproducible with: 2018.4.29f1(UI Builder is not available)
Notes:
1. Issue is reproducible with German, Lithuanian, French, Spanish region formats
2. Issue is not reproducible with English, Chinese region formats
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “You may not pass in objects that are already persistent” error is thrown when entering the Play Mode and the "Active Input Handling" system was changed in a custom Build Profile
- [Linux] Assertion failed on expression 'success && actual == size' error is thrown when building project to another partition with a different file system
- Import Activity window shows "(None)" in the Asset field when changing the path of the asset
- Material setting changes when saving the Scene
- Sprite Mask's Alpha Cutoff value dragging is too sensitive
Add comment