Search Issue Tracker

Fixed

Fixed in 2022.3.18f1, 2023.2.7f1, 2023.3.0a18

Votes

0

Found in

2022.2.1f1

2023.1.0a19

2023.2.0a1

2023.3.0a3

Issue ID

UUM-21223

Regression

Yes

EditorGUILayout.MaskField keeps the "Everything" option selected when clicking "Nothing" if there is only 1 option present in the MaskField

--

-

1. Open the attached “MaskFieldBug3.zip“ project
2. Click Window > My Windows
3. In the "Flag field" select the "Everything" option
4. Close the dropdown menu
5. In the "Flag field" select the "Nothing" option

Expected result: the console prints "0" and the "Nothing" option gets selected.
Actual result: the console still prints "FFFFFFFF" and the "Everything" option remains selected.

Reproducible with: 2022.2.0a17, 2022.2.1f1, 2023.1.0a23
Not reproducible with: 2020.3.42f1, 2021.3.15f1, 2022.2.0a16

Reproducible on: macOS 11.6.5 (Intel)
Not reproducible on: Windows 10

  1. Resolution Note (fix version 2023.3.0a18):

    Fixed in: 2023.3.0a18

  2. Resolution Note (fix version 2023.2.7f1):

    Fixed in: 2023.2.7f1

  3. Resolution Note (fix version 2022.3.18f1):

    This issue has been addressed by another mask field bug fix.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.