- Home /
MenuItem Glitch: Editor Script MenuItem Calling Wrong Option From Unity Help Menu
I've created an editor script with some MenuItems in it and I'm running in to what I think is a Unity glitch when I select one of those Menu Items.
If I make code changes (in Visual Studio 2017, for reference) and then go back to the Editor and select one of the editor script's MenuItems, Unity ends up calling "Reset Packages to defaults" in the Help menu instead of the MenuItem that I actually selected. The dialog for "Reset Packages to defaults" pops up and if I close that dialog and then select a MenuItem again, the selected Menu Item works properly.
This isn't a blocking bug, since my editor script's MenuItem works after I close the "Reset Packages to defaults" dialog, but it's quite annoying. I'm wondering if anyone else has run in to this bug or if it's, somehow, being caused by something I've done.
Your answer
![](https://koobas.hobune.stream/wayback/20220612232944im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Editor scripting - How to show the Assets menu as a context menu 1 Answer
It's possible to create MenuItems with out attributes? 1 Answer
How is particle system execusint in edit mode? 0 Answers
Make a pop up panel asking if I am sure I want to buy a specific item 0 Answers
Ability to define custom help menu (PDF) 2 Answers