Search Issue Tracker
By Design
Votes
0
Found in
2019.1.0f2
Issue ID
1154280
Regression
No
[Scripting] SystemLanguage.Language returns a different value from its property.enumValueIndex for values higher than 18
How to reproduce:
1. Open user-submitted project (SystemLanguageBugReport)
2. Create a new Language Package asset by clicking Assets > Create > Language Package
3. Attach the LanguageMonoBehaviour.cs to any GameObject
4. Assign to the created Language Package to the 'Package' variable
5. Select the Language Package asset, select 'Icelandic' language and click 'Log property Enum value'
6. Enter Play Mode and compare the Console output
Expected result: SystemLanguage.Language and property.enumValueIndex return the same value
Actual result: property.enumValueIndex value is higher than SystemLanguage.Language value
Reproducible with: 2017.4.27f1, 2018.4.1f1, 2019.1.4f1, 2019.2.0b3, 2019.3.0a3
Notes:
Values returned match correctly for languages Afrikaans-Hungarian
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 (2020.1.X):
We really appreciate your contribution to the Unity product. Thank you for reporting this issue. We take every case submitted to us seriously by investigating the impact on you, our customer, as well as the impact it may have on the engineering and experience of our product.
This particular case has been investigated thoroughly and we have decided, in the interests of protecting the stability and features of Unity for users that rely upon the affected versions, to not address this issue.