Thanks for the reply, TheJamsh.
I was looking, how to modify assets in the editor, not at runtime. Sorry, didn’t write that in the first post.
However, for me it worked, when I added
StaticMeshAsset->Build();
It worked, but I don’t know if I can use it.