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
- 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
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.