Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.4.1p1
Issue ID
834553
Regression
No
MenuItem does not exist after recompiling
(Check the attached *.gif file to see the bug)
Reproduction steps:
1. Open the attached project in the editor
2. Make a trivial change to any of the C# scripts, forcing the project to be recompiled
3. You'll see a message in the console, from the static initializer in FredEditor.cs
4. Press CTRL-ALT-N twice
Actual: Each press of CTRL-ALT-N simply executes the indicated `MenuItem` in FredEditor.cs, which in this case print a debug message
Expected: Immediately following a recompile of the project, the first time you press CTRL-ALT-N you either get an error message ("ExecuteMenuItem target for Layouts does not exist"), or the editor invokes a some other MenuItem known to the editor. Menu item (Component->Do->Nothing) is gone.
Reproduced on: 5.3.4f1, 5.4.1p1, 5.5.0b4
Comments (4)
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
- Unity Cloud icon does not appear next to project and does not connect correctly when the project is created with Cloud but closed right after creation
- ScrollerSlider in the Scroller Control is still using UXMLTraits
- Crash on ExtractHandles when shutting down the Editor in a specific scene while Burst jobs are in progress
- Unity Hub closes with no "Project is currently open" window when selecting an already open project from the Projects list
- The Hub freezes indefinitely when copy/pasting a lot of characters in the “Set project display name” Hub window since it has no character limit
LacunaCorp
Aug 04, 2018 20:56
Also experiencing this in both 5.6.6f2 and 2017.4.2f2, trying to open a custom EditorWindow. As stuffses said, the invocations appear to be random. Most recently I had this issue with the Lighting window target.
Shrubokrant
Apr 24, 2018 22:52
Same issue right here, with a custom plugin with menu items
Sprakle
Sep 21, 2017 17:32
Having the exact same problem on 2017.1. Very annoying because hotkeys often seem to just invoke random methods during/after recompiling.
Maybe this warrants re-opening?