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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
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?