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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
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.