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
- Crash on [NSApplication endModalSession:] when saving while Play Mode is loading
- Incorrect Preferred Height calculation when a single text line uses different Font Assets
- [ShaderGraph] Redo Collapse Nodes action does not fully collapse the Nodes
- [Ubuntu] Mouse cursor is set box select mode after exiting VFX Graph's Rename Context function
- Unrecognized identifier DECLARE_STACK_CB error is thrown when VirtualTexture Property is used with Custom RenderTexture target
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.