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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment