Access bones in c++ code

USkeleton* Obj = LoadObject(NULL, TEXT(“Skeleton’/Game/StarterContent/Bones/Body/jg_Tpose_0_Skeleton.jg_Tpose_0_Skeleton’”));
if (Obj != NULL) {
GEngine->AddOnScreenDebugMessage(-1, 5.0f, FColor::Green, TEXT("bone UPload Success !!! " + Obj->GetName()));
}
FString tem = Obj->GetName();
auto boneTree = Obj->GetBoneTree();

Hello, this is my code, tem=jg_Tpose_0_Skeleton, but boneTree is all None, what’s the reason