Search Issue Tracker
Fixed
Votes
1
Found in
5.3.5f1
Issue ID
799597
Regression
No
FindScriptByClassName Does Not Account for Namespace-Qualified className
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)
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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
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.
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.
Prodigga
Jun 06, 2017 01:52
Still an issue in 2017.1 guys