/Engine/Source/Runtime/CoreUObject/Public/UObject/Stack.h
This will return the StackTrace of the current callstack from the last native entry point
[FString](API\Runtime\Core\Containers\FString) GetStackTrace() const