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
- NullReferenceException is thrown when assigning PanelSettings asset to a UIDocument dynamically at runtime
- Crash on GfxDeviceD3D12Base::DrawBuffersCommon when disabling "Allow FSR2" parameter while in Play Mode with Direct3D12 set as graphics API
- Crash on vkGetInstanceProcAddr when setting graphics API to "Vulkan" on Fantasy Kingdom learning project
- Overlay Camera "clear depth" not working on Vulkan+Pixel8
- Shadows from Shadow Caster 2D using 2D Colliders show incorrectly when tiles are removed at runtime
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