Failing to save Static Mesh after adding sockets with Editor Utility Widget

Hi, I made a simple Editor Utility Widget that copies sockets from one mesh asset to another. It seem to work fine but modified mesh fails to save. Does anybody know why? I am on version 5.6.1.
Thank you for your time :slight_smile: