Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.3.0f3
Issue ID
998519
Regression
No
Validation function for MenuItem doesn't get called after the disabled menu item is viewed
To reproduce:
1. Open the project, attached by the tester (menuItemValidation.zip)
2. Press Ctrl + G, two messages appear in the console (validation message and menu item execution message)
3. Open the TestEditor script and in the ValidateOpen method change its return value to false
4. In Unity, Ctrl + G again, one message appears about validation
5. Go to Tests -> Level2 -> Shortcut, it will be disabled
6. Press Ctrl + G again, no messages appear in the console
Expected: viewing a disabled menu Item still calls its validation method when the MenuItem's shortcut is pressed
Reproduced in 2017.1.3p1, 2017.2.1p3, 2017.3.0f3, 2018.1.0b6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Add comment