'FRotation': Identifier not found and pointer to incomplete class

When I try building OpenDoor.cpp (using Unreal 4.22.2 and VisualStudio 2017), it fails with ‘FRotation: Identifier not found’. Is this dude to a missing Include?

Other error is ‘pointer to incomplete class type is not allowed’

What I have tried:
tried adding includes such as ‘CoreMinimal.h’


// Called when the game starts
void UOpenDoor::BeginPlay()

	AActor* Owner = GetOwner();
	FRotator NewRotation = FRotator(0.f, 0.f, 90.0f);

FRotator, not FRotation. It doesn’t exist, because it’s spelled wrong :stuck_out_tongue:

1 Like

AHH! Thanks! :stuck_out_tongue:

1 Like

Solved the other error from another post, added #include "Engine/World.h" and its working great!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms