/Engine/Source/Runtime/Engine/Classes/Engine/Engine.h
Returns the firstULocalPlayerthat should be used for debug purposes. This should only be used in very special cases where no UWorld* is available! Anything using this will not function properly under multiple worlds. Always prefer to useGetFirstGamePlayer()or even better -FLocalPlayerIteratorthe firstULocalPlayer
[ULocalPlayer](API\Runtime\Engine\Engine\ULocalPlayer) * GetDebugLocalPlayer()