Unity gives special icon for "Search.cs", not the regular C# icon

I created a script named Search.cs.
The unity editor gives it a special icon based on the name.
I’ve never seen this before:

Anyone know what this is about?
Should I rename this script to something else just to be safe?
j

I have seen this before. It also happens when you create scripts like GameController or GameManager. Some of those names will get a special icons. For GameController I can only assume it’s a feature, but for your Search class it looks like UntityEditor also has a Search class and that there is editor code that draws that icon. Not sure how much of it is a feature or just a bug, but I wouldn’t mind to much.

Solution: Rename your class or put it inside of namespace.

namespace MyGame
{
    public class Search
    { }
}
3 Likes