I’m getting two materials
Generated geo saved
In viewport the tool on the left and the newly generated static mesh on the right
2nd test
Though the blueprint version doesn’t seem to have the material settings exposed (you need to click the eye icon in the script to expose them)
Then added the save asset to the bp version and it works ok
Both versions work as expected. Not sure what is going on in your project. Maybe some old cache is throwing off the scripts?