/Engine/Source/Runtime/GameplayDebugger/Public/GameplayDebuggerCategory.h
Method is expected to always return valid outputs if valid controller is provided. Otherwise it depends if the view information has been replicated before the methods gets called.
whether OutViewLocation and OutViewDirection were assigned to valid values
bool GetViewPoint ( const [APlayerController](API\Runtime\Engine\GameFramework\APlayerController) * OwnerPC, FVector & OutViewLocation, FVector & OutViewDirection ) const