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
- Duplicate External Textures start appearing when a Texture created with "CreateExternalTexture" is modified causing Memory Usage spikes on VisionOS
- Silent crash when using a "Blend Shape" in a "Skinned Mesh Renderer" to move vertices to Vector3.positiveInfinity, and "Occlusion Culling" is baked
- Some Prefab Source and Override content bounds are misaligned
- The Package Manager's "install packages by..." panels break when Domain Reload is triggered, and the panel is open
- Crash with multiple stack traces when leaving a docked VFX Graph open
This is a duplicate of issue #1111360