Search Issue Tracker
Duplicate
Votes
2
Found in
2018.2.14f1
2018.3.0b3
2018.3.0b10
2019.1.0a1
Issue ID
1102124
Regression
Yes
Script with the [AddComponentMenu] flag remains in the 'Add Component' context menu after deleting it from the Assets folder
How to reproduce:
1. Open tester-submitted project (AddComponentMenu)
2. Select any GameObject
3. Select 'Add Component' and notice that 'A Simple Script' appears in the context menu
4. Delete the 'AddComponent.cs' script from the Assets folder
5. Open the 'Add Component' context menu again
Expected result: 'A Simple Script' no longer appears in the context menu
Actual result: 'A Simple Script' still shows up in the context menu
Reproducible with: 2018.2.14f1, 2018.2.19f2, 2018.3.0b3, 2018.3.0f1, 2019.1.0a11
Not reproducible with: 2017.4.16f1, 2018.2.13f1, 2018.3.0b2
Notes:
Reimporting all assets or restarting the project fixes this issue
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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
This is a duplicate of issue #1111360