The reason I am posting this discussion is because I had this problem and thought some others might need to figure this out as well, not because I need help. So, I got the error directly after building the project for the first time as shown in 9:40 in the video. I got this error:
The reason it was doing this is because in my OpenDoor.cpp I put the
// Find the owning actor
AActor* Owner = GetOwner();
// Create a rotator
FRotator NewRotation = FRotator(0.0f, 0.0f, 90.0f);
// Set the door rotation
Owner->SetActorRotation(NewRotation);
code under UOpenDoor::UOpenDoor()
instead of void UOpenDoor::BeginPlay()
.
I hope this helped.