I’m having trouble changing the default image of my custom asset. Essentially, there are 3 classes involved: **UDataAsset**
(which is the asset I want to change the image for), **UDataAssetFactory**
(which defines the drag and drop behavior in the editor and manages the allowed file types), and **IAssetTypeActions**
(which is responsible for modifying these properties, including the thumbnail). This is the function that creates the brush during startup.
And this is the part that should change the thumbnail in the IAssetTypeAction:
It does change the file, but there were two cases where a checkerboard pattern appeared along with the error:
LogSlateStyle: Warning: Missing Resource from ‘BridgeStyle’ Style: ‘Unable to find Brush ‘MidiEssenceStyle.MidiAsset.Icon’.’
I’m using the default Icon128 image for testing. Thanks in advance!