Custom asset icons changed after upgrade to Unity 2017.2

Hi! So I am currently working on a tool that saves scriptable objects of what the tool is used to create. I just upgraded from 5.5.0p1 to 2017.2.0f3 . In 5.5.0p1 I was using the Gizmos folder. I had an icon in there that was always how my scriptable object’s icon showed up in the project view and in its inspector. Now that I have upgraded to 2017.2.0f3 I’m noticing my custom icon is not being used when I first create one of my scriptable objects. It uses the default icon until I name my scriptable object asset and press enter. I’m also noticing the inspector is using the default asset icon instead of my custom one. Is this some kind of bug in Unity 2017.2.0f3 or did something change with how Gizmos work? Anyone know how I can fix this. I appreciate any and all help.

Assign the icon in the scripts inspector using the “Other” button:

3274964--253181--scriptinspector.png

If the script belongs to a ScriptableObject asset, then that asset will use the icon :slight_smile:

I believe that only changes it for your project. It needs to be the same icon for anyone who has this tool. In 5.5.0p1 putting it in the Gizmo’s folder worked just fine, but in 2017.2.0f3 it does not… Also that seems to be changing everything for a script or whatever’s icon but does nothing for saved scriptable object’s icons

If you copy the meta file over to another project the icons will be preserved

Ok. Is there an easy way to export the meta files in a Unity Package then or is that not possible? This tool needs to be distributable as just a Unity package and I don’t think a Unity Package typically has meta files in it. If it makes a difference the package will be generated via the command line with a bat script. Also while doing as you suggested may fix the issue with the icon in the inspector is there anyway for me to fix the issue where it does not display my icon like it normally did when I first create a scriptable object asset?