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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Add comment