How to convert int32 to FString to FName

Build the string first and then use FName().

FString myString = // build your string however

WeakPoint->AttachToComponent(GetMesh(), FAttachmentTransformRules::KeepRelativeTransform, FName(*myString)));
2 Likes