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
-
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
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
Resolution Note (2022.1.X):
This is a bug in Mono which will likely be addressed in the future with .Net 6