Upon finishing lecture 90 I noticed an error that appears in my code to do with the line.
TotalMass += Actor->FindComponentByClass()->GetMass();
Where actor is underlined with the error
E0393 pointer to incomplete class type is not allowed
I’ve gone over my code and compared to the code provided in the resources which still brings up this error.
So I’ve narrowed it to be possibly the UE version or VS versions? Tried including various Actor.h files etc and that doesn’t seem to solve it.
I’m using UE 4.17.1 and VS17 15.3.4
Any ideas what may be causing this error as right now even with further progress of videos the issue prevents testing of the game.