Search Issue Tracker
Won't Fix
Votes
6
Found in
5.0.0f4
Issue ID
698698
Regression
No
User object types with names that match an icon name will show this icon in the Inspector
How to reproduce:
1. Create a new project
2. Create script and name it "GameManager"
3. Notice that in the inspector it has different icon
Attached a project with more icons for further testing purposes.
Comments (1)
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
- Player GameObject can’t be selected in the Hierarchy window during Step 4 of the "Get Started" tutorial in 2D Platformer Microgame because Hierarchy window is masked
- Gradient marker colors are removed when undoing marker movement in the Inspector Gradient field
- Crash on RendererScene::NotifyInvisible when GameObjects are deleted from the Hierarchy in a specific Scene
- "Import projects" button doesn't work in Unity Hub
- Animation is affected by TimeScale when setting Animator's updateMode to UnscaledTime in onDisable()
dpoly
Mar 01, 2019 04:36
This is baked into Unity, but it's a fake problem. It arises only when you put your user-written code into the global namespace. Don't do it!
The real answer is that all user-written script code should be in its own namespace -- that's what the feature is there to do. It would help if the Unity templates adopted that convention.