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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Add comment