Try to find a png or svg icon at FileNameWithPath and register it in the style set with the given StyleIconIdentifier, ie so that later it can be found FSlateIcon(FScriptableToolsEditorModeStyle::Get()->GetStyleSetName(), StyleIconIdentifier). This is intended to be used for (eg) custom icons defined in Scriptable Tool Blueprints, that are not known at compile time.