Override Asset Preview Thumbnail

I’m looking for a way to change the icon which is currently visible for an asset on the Object Picker field.

I’ve created a CustomEditor for my class and overridden the “RenderStaticPreview” method, which does change the icon in the project view:
[115076-projectpreview.png|115076]

However, the thumbnail on the object picker is still displaying the default value:
115077-objectpicker.png

Is this a bug, or is there another method which handles the drawing of the thumbnail?

Update: It appears this issue also occurs in the project view when the slider is used to shrink the icon to the smallest size. At this point the “RenderStaticPreview” method doesn’t receive a callback either.

Hi. @Mako-Infused. You can write CustomEditor for this ScriptableObject and override function RenderStaticPreview. It returns Texture2D.