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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
This is a duplicate of issue #1111360