LogTemp: Warning: Owner Actor Name: StaticMeshActor_525
When I changed my code to use GetActorNameOrLabel() instead of GetName(), the output changes to : LogTemp: Warning: Owner Actor Name: SM_CastleWallEntranceDoor.
Why does GetName() not work here? I have looked for the name StaticMeshActor_525 and I can not find it on the object so I have no idea where it is coming from.
If you right click the header you can enable ID Name and that is the actor’s name. GetActorNameOrLabel will return the label if it exists otherwise it will return the name. IMO it makes more sense to be the other way round i.e. GetActorLabelOrName.