USpringArmComponent not working in new engine

I get USpringArmComponent is not defined in the new unreal editor but in the older version (4.15) it seems to be fine.

Is this not included in the later versions? or is it called something else?

I’m doing a course which is using 4.15 from 2017.

You need to include:


#include "GameFramework/SpringArmComponent.h"


Thanks. But why don’t I need to add the include in the older version of unreal and with visual studio 2015?

Did the older versions automatically add the include? or is it not needed in the older version?

From a blank project, adding the “USpringArmComponent” code only gives an error on the newer version.