With a normal SpawnActor call, the name is set via FActorSpawnParameters. With SpawnActorDeferred, there doesn’t appear to be a way to pass in either a name or FActorSpawnParameters. What is the correct way to do this?
This reply comes two years later but to help anyone else with the same problem.
SpawnActorDeferred is the same as calling SpawnActor but with bDeferConstruction set to true in the FActorSpawnParameters. Therefore, if you want to set the name or any other parameters, it is best not to use SpawnActorDeferred() and instead use SpawnActor() with bDeferConstruction set to true.
2 Likes