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

Themes

-

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)

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

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.