Search Issue Tracker
Fixed in 2021.1.X
Votes
1
Found in
2020.1.0a8
2020.1.4f1
2020.2
Issue ID
1275065
Regression
Yes
string.Format returns string containing decimal commas instead of dots for Vector types, depending on set CultureInfo
Reproduction steps:
1. Open user's attached project "CultureExample.zip" and scene "SampleScene"
2. In Hierarchy window, select CultureTester GameObject
3. In Inspector window, click on "Culture Tester (Script)" component's "Check Cultures"
4. Observe Console window
Expected result: No punctuation inconsistencies are logged
Actual result: Punctuation inconsistencies logged for "es-ES", "de-DE", "hu-HU", and "ka-GE" CultureInfo
Reproducible with: 2020.1.0a8, 2020.1.7f1, 2020.2.0b4
Not reproducible with: 2019.4.11f1, 2020.1.0a7
Could not test with: 2018.4.27f1 (script could not be compiled)
Workaround:
Using InvariantCulture fixes the issue.
-
Hurri04
Oct 22, 2020 09:21
nvm about 2019, forgot it only happened in 2020
-
Hurri04
Oct 22, 2020 09:08
Will the fix be back-ported to 2019 LTS and/or 2020?
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
- Crash on GizmoDrawingPhysics2D::DrawCompositeCollider2DGizmo when opening a Scene that has corrupted GameObjects with Tilemap Components
- Scrolling vertically and horizontally is very fast when in Play Mode and RuntimeInputBackend is set to UIToolkitInputBackendOption.Default
- Crash on MemoryProfiler::UnregisterAllocation when initializing entities and leaving Play Mode with Occlusion Culling enabled
- Crash on mdb_page_alloc when opening a project that was running while the PC shut down
- macOS Player freeze when using RunInBackground and Command+Tabbing to and from the application
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a2