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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.