Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2019.4
2019.4.15f1
2020.3
Issue ID
1347061
Regression
No
AddComponentMenu does not set custom name in Inspector when script is not added to a folder
Reproduction steps:
1. Open the attached project "AddComponentMenu.zip"
2. Open scene "Scene"
3. Select any GameObject in the hierarchy
4. Press "Add Component" and add the "Custom Script Name" component
Expected result: Component name matches the name provided in AddComponentMenu ("Custom Script Name")
Actual result: Component name defaults to the class name ("Add Component Menu Script")
Reproducible with: 2019.4.29f1, 2020.3.14f1
Not reproducible with: 2021.1.14f1, 2021.2.0b3
Could not test with: 2018.4.36f1 (name in Inspector is always class name)
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
- TutorialManager Warnings are thrown when creating Test Track or LEGO Templates
- Incorrect ScrollToItem behavior when called on a deattached ListView
- Zooming in/out in Scene View window on the display the zoom takes place in does not work
- Changing Game View resolution when there are 2 Game View Windows on 2 different displays makes the view stretched
- Maximising Game view window on one display makes black bars appear on another display
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.0a1