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
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
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.