Search Issue Tracker
Not Reproducible
Votes
2
Found in
2018.4
2019.4
2020.3
2020.3.0f1
2021.1
2021.2
Issue ID
1324073
Regression
No
[Android] Application.systemLanguage returns invalid language when at least one language is added to Plugins/Android/res/values
Reproduction steps:
1. Download and open the attached project "1324073.zip"
2. Build and install on Android
3. Change the system language to English
4. Open the application and investigate the logged message
5. Close and kill the application
6. Change the system language to Czech
7. Open the application and investigate the logged message
Expected result: "Language From Application.systemLanguage: Czech" is logged
Actual result: "Language From Application.systemLanguage: English" is logged
Reproducible with: 2018.4.33f1, 2019.4.23f1, 2020.3.3f1, 2021.1.2f1, 2021.2.0a12
Notes:
The behavior is correct if Plugins/Android/res folder is removed
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] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
Resolution Note (2021.2.X):
The latest Unity version no longer supports putting res folder to Plugins/Android. Now you should be using Android libraries (.aar or library projects).
I've tried using that with given res folder and I could not reproduce this bug that way. Android libraries are supported in all current Unity versions.