Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2018.4
2018.4.27f1
2020.2
Issue ID
1282836
Regression
No
The first Object selected dictates what Flags will be set when editing multi-selected objects with EnumFlagsField mixed values
How to reproduce:
1. Open the attached project("EnumFlagsFieldBugReport.zip")
2. Select "ExampleObject1" in the Hierarchy
3. Click on the dropdown of "Int Flags Field" in the Inspector window
4. Set the value to "None"
5. Select "ExampleObject2" in the Hierarchy
6. Click on the dropdown of "Int Flags Field" in the Inspector window
7. Set the value to "Flag 1"
8. Select "ExampleObject1" and "ExampleObject2" in the Hierarchy
9. Click on the dropdown of "Int Flags Field" in the Inspector window
10. Set the value to "None"
Expected results: Both "ExampleObject1" and "ExampleObject2" "Int Flags Field" values are set to "None"
Actual results: "ExampleObject1" and "ExampleObject2" "Int Flags Field" values do not change
Reproducible with: 2018.4.28f1, 2019.4.12f1, 2020.1.9f1, 2020.2.0b7
Note: reproduces only when you select a value that the first Object("ExampleObject1") already has marked as Flag
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
- SerializedPropertyChangeEvent is invoked when initially binding PropertyFields in custom Editor
- UI Panel is not visible when HDR and STP filter are enabled
- Crash on GfxDeviceD3D11Base::DrawBuffersIndirect when opening a specific project
- OnTriggerExit2D is called in Play mode when undoing component adding
- Builds fail with "Execution failed for task ':launcher:checkReleaseDuplicateClasses'" error when the newer version of the In-App Purchasing package is installed on a specific project
Resolution Note (fix version 2021.1):
Fixed in: Unity 2021.1.0a9 and newer