Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.8f1
2023.1.10f1
2023.2.0b6
2023.3.0a3
Issue ID
UUM-47114
Regression
Yes
EditorGUILayout.EnumFlagsField breaks when enum member has a -1 assigned
Reproduction steps:
1. Open the attached project "EnumFlagsField"
2. Select "Test" GameObjert in the Hierarchy
Expected result: there are two enum dropdowns in the Inspector under the Script component
Actual result: there is only one dropdown and "IndexOutOfRangeException: Index was outside the bounds of the array." errors are spammed in the Console
Reproducible with: 2022.2.3f1, 2022.3.8f1, 2023.1.10f1, 2023.2.0b6, 2023.3.0a3
Not reproducible with: 2021.3.30f1, 2022.2.2f1
Reproducible on: macOS 13.4.1 (Intel)
Not reproducible on: No other environment tested
Notes:
1. More errors can appear when moving/clicking the mouse
2. Reproducible after changing "~0" in the Script to "-1" but not "-2" or "-3"
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
- An emoji is not shown in the UI Builder Viewport and the Game view when it is placed in the Labels text attribute and Usage Hints is set to Dynamic Color
- The Sprite Renderers are looking for Secondary Textures from the wrong page within the Sprite Atlas when the Sprite Atlas has a large amount of textures for packing
- [URP] Invalid update of shader stripping settings
- [HDRP] Errors on Shader stripper that do not stripp shaders.
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
Resolution Note:
Thank you for bringing this issue to our attention. After careful consideration, we have determined that other higher-priority issues should take precedence, and we have decided not to address your issue at this time. The priority level is determined by factors such as the severity and frequency of an issue and the number of users affected by it. We appreciate your input and understanding, and please let us know if you have any other concerns or issues you would like to report in the future.