I’ve triple checked my code and everything inside of the class file seems to be fine, the issue that I see displayed in the Unreal output log is as follows:
Other than this warning, I do not see any other warnings (including the position report warning)
Below is what my code inside of the PositionReport class looks like: (Specifically the only section we worked on)
// Called when the game starts
void UPositionReport::BeginPlay()
{
Super::BeginPlay();
// Defining Variable
FString ObjectName = GetOwner()->GetName();
UE_LOG(LogTemp, Warning, TEXT("Position report for %s"), *ObjectName);
}
Lastly, I see in the lesson video that Ben has “bWantsBeginPlay = true” inside of UPositionReport::UPositionReport()
If I try to add this to my code it does not compile. I’m just curious as to why it’s there.