Same pointer is valid in BP but null in C++

/** Get the mesh ./
UFUNCTION(BlueprintPure, Category = “Whatever”)
FORCEINLINE USkeletalMeshComponent
GetMesh() const { return mesh; }