Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2019.4.X, 2020.1.X

Votes

0

Found in

2017.4

2019.3.13f1

2020.2

Issue ID

1247020

Regression

No

MenuItem validation function can be executed in the Hierarchy context menu

Themes

-

How to reproduce:
1. Open the user's attached project
2. Press GameObject in the toolbar
3. Notice that the item "MenuItem" is not available
4. Right-click in the Hierarchy window (Make sure no GameObjects are selected)
5. Observe the context menu

Expected result: "MenuItem" is not available
Actual result: "MenuItem" is available

Reproducible with: 2017.4.40f1, 2018.4.23f1, 2019.3.14f1, 2020.1.0b9, 2020.2.0a11

Note: Pressing "MenuItem" in the Hierarchy when no GameObject is selected, the validation method is executed, even though it shouldn't be allowed to be executed directly. When a GameObject is selected, the non-validation method is executed.

  1. Resolution Note (fix version 2020.2):

    Fixed in: 2020.2.0a20

  2. Resolution Note (fix version 2020.1):

    Fixed in: 2020.1.1f1

  3. Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.8f1

Comments (1)

  1. astronakshatra

    May 16, 2020 08:57

    faced this problem multiple time earlier.

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.