Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.2.X, 2022.1.X
Votes
0
Found in
2019.4
2019.4.29f1
2021.2.0a18
2022.1
Issue ID
1376786
Regression
Yes
[Android] [Mono] CurrentCulture returns 'Invariant Language' instead of the actual language when running app on Android
How to reproduce:
1. Open the attached project '1376786.zip'
2. Make sure your Android device language is set to English (United States)
3. Build and Run the application on an Android device
4. Observe text on Android device screen
Expected results: The text displays 'CurrentThread.CurrentUICulture: en-US, English (United States)'
Actual results: The text displays 'CurrentThread.CurrentUICulture: , Invariant Language (Invariant Country)'
Reproducible with: 2019.4.32f1, 2021.2.0a18, 2021.2.1f1, 2022.1.0a15
Not reproducible with: 2020.3.22f1, 2021.2.0a17
Reproducible with these devices:
VLNQA00288, Samsung Galaxy J7 (SM-J730F), Android 8.1.0, CPU: Exynos 7 Octa 7870, GPU: Mali-T830
VLNQA00022, Xiaomi Redmi Note 3 (Redmi Note 3), Android 6.0.1, CPU: Snapdragon 617 MSM8952, GPU: Adreno (TM) 510
VLNQA00001, Google Pixel 2 (Pixel 2), Android 11, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
VLNQA00316, Samsung Galaxy Note10 (SM-N970F), Android 9, CPU: Exynos 9 Series 9825, GPU: Mali-G76
VLNQA00225, Qualcomm null (SDM845 for arm64), Android 8.1.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
Notes:
- Not reproducible on iOS, and standalone builds
- Not reproducible in Editor when entering Play mode
- Not reproducible when using IL2CPP Scripting Backend
- Any language can be used in step 2 to reproduce the issue, but English (United States) language was used for expected results
Comments (1)
-
Peter77
Feb 08, 2022 07:35
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b3
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.10f1