[UE5] GetSocketLocation returning origin or local position instead of world position

Try using UStaticMeshComponent::GetSocketTransform instead, as you can specify a world space with it.