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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
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.