UProjectileMovementComponent Forward Declare Causing Failed Build

Just logically think it through. You have the include for the projectile movement component in the .cpp file, how on earth would the .h file know what UProjectileMovementComponent is? Since you are not accessing any of its member variables / methods in your .h, you can simply forward declare it. Otherwise you would need to add the proper include to the .h file as well.

1 Like