Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
4.3.0f2
Issue ID
573572
Regression
No
MINOR: Deleting a class that declares a root-level MenuItem does not delete the MenuItem
To reproduce:
1. Install / Generate a class that declares a root-level MenuItem. Example: Asset Store Tools (https://www.assetstore.unity3d.com/#/content/115)
2. Once installed and the root level menu item is visible (menu "Asset Store Tools" if following example), delete the class that declares the menu item and wait for recompile
3. Switch away from Unity and back.
Expected result:
Deleting a class that declares MenuItem updates the menu to remove the declared menu item, whether it is root-level or not.
Actual result:
Create root level menu item is always visible even though the class declaring it no longer exists, and obviously clicking it does nothing.
Broken root-level MenuItem persists until restarting Unity or opening another project.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "NullReferenceException: Object reference not set to an instance of an object" error is thrown when attempting to remove a binding in the UIBuilder for a UxmlObjectReference
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
Add comment