Search Issue Tracker
Won't Fix
Votes
1
Found in
2018.4
2019.4
2020.2
2020.2.2f1
2021.1
2021.2
Issue ID
1312027
Regression
No
Globalization.CultureInfo.CurrentCulture does not map to system language on OSX
How to reproduce:
1. In the System Preferences, change the system language to another one than English (for example, French)
2. Open the attached project's Scene labeled "SampleScene"
3. Enter the Play Mode
4. Inspect the Console Window
Expected result: CultureInfo.CurrentCulture/CultureInfo.CurrentUICulture returns the same language as Application.systemLanguage
Actual result: CultureInfo.CurrentCulture/CultureInfo.CurrentUICulture always return en-US
Reproducible with: 2018.4.32f1, 2019.4.21f1, 2020.2.5f1, 2021.1.0b7, 2021.2.0a6
-
Y2JB
Apr 03, 2024 19:29
I still see this issue on osx
-
FSpark
May 11, 2021 17:29
Note, appears to work on Windows but not on Mac OS
-
FSpark
May 11, 2021 17:24
This is important especially for engineering or medical applications. Please fix this asap!
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
- UI performance degradation when a graph asset has hidden VisualElements
- The CaptureScreenshot method scales UI incorrectly when using an orthographic camera and both superSize and canvas planeDistance are above 1
- URP Render Graph's ColorGradingLUT pass causes GC.Alloc every frame when a custom lookup texture is provided
- [Android] Player with the specific Video clip crashes on "/apex/com.android.runtime/lib/bionic/libc.so (__memcpy_a53+96)" when the video is bundled with other video clips and Codec is set to VP8
- The Console window is not cleared when scripts are recompiled and the "Clear on Recompile" option is enabled
Resolution Note (2022.1.X):
This is a bug in Mono which will likely be addressed in the future with .Net 6