Search Issue Tracker

Fixed

Votes

1

Found in

5.3.5f1

Issue ID

799597

Regression

No

FindScriptByClassName Does Not Account for Namespace-Qualified className

Project Browser/Hierarchy

-

Icons for Scriptable Objects with namespace are displayed incorrectly (default asset icon).

To reproduce:
1) Open the attached project.
2) Go to the Assets folder.
- In the Editor folder there are 2 scripts 'SampleScriptableObject1' which uses a namespace and 'SampleScriptableUnity2' which does not. There are also 2 scriptable objects 'New Sample Scriptable Object 1' and 'New Sample Scriptable Object 2' derived from the scripts.
- The icon of 'New Sample Scriptable Object 2' is shown as the default Unity asset icon, even though the script associated with it has a green icon. The scriptable object derived from the script which doesn't use the namespace is displaying as expected.

Comments (3)

  1. Prodigga

    Jun 06, 2017 02:02

    Nevermind - just something funky happened, had to reimport the assets with the icons to make it appear after I changed the scripts namespace.

  2. Prodigga

    Jun 06, 2017 02:02

    Nevermind - just something funky happened, had to reimport the assets with the icons to make it appear after I changed the scripts namespace.

  3. Prodigga

    Jun 06, 2017 01:52

    Still an issue in 2017.1 guys

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.