Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2022.1.X

Fix In Review for 2021.2.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

Mono

-

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

  1. Response avatar

    Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a1

  2. Response avatar

    Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0b3

  3. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed regression where android was no longer able to determine the local culture during a mono runtime

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.