UE4.22 / Visual Studio 2019 / Lecture 89 / OpenDoor-Script
ActorThatOpens = GetWorld()->GetFirtstPlayerController()->GetPawn(); // This seems to cause the error
I always get class ‘UWorld’ has not member ‘GetFirstPlayerController’ error in Visual Studio 2019. When I hover above GetFirtstPlayerController() the tooltip displays the same. So I checked for the class UWorld and cannot find the method there. Does this mean that it does not exist in Unreal 4.22 anymore or am I doing something wrong? How do I do this in UE 4.22 correctly to proceed with the lectures?