How to instantiate a blueprint object from a C++ script?

I think the point that you’re missing is that the goal is that the string (in your example) should be able to be provided by the code calling SpawnActor and not hard-coded as part of the constructor.