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
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.
Comments (1)
-
astronakshatra
May 16, 2020 08:57
faced this problem multiple time earlier.
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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a20
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.1f1
Resolution Note (fix version 2019.4):
Fixed in: 2019.4.8f1