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

Scripting

-

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

Comments (1)

  1. jehywyrac

    Mar 26, 2020 10:24

    Whenever you delete some important things then it is save in the folders as a backup. Furthermore you can convey https://www.myassignmentwriting.com.au/research-paper the proper guides through this channel that can be followed by the people.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.