How to subclass/inherit FCanvasNgonItem?

Hi… Here is my issue:

  • I’m getting the “Superclass not found” error on compiles, but the class “activates” as parent.
  • I’ve tried to #include the header: “Runtime/Engine/Public/CanvasItem.h” without success.
  • I bet that it’s because lack of modules on the Build.cs, but I have no idea where to find it.

As example this doesn’t compiles:

#include "CanvasItem.h"
#include "FMyCanvasNGonItem.generated.h"

/**
 * 
 */
UCLASS(Config = Game, notplaceable)
class MYGAME_API UFMyCanvasNGonItem : public FCanvasNGonItem
{
	GENERATED_UCLASS_BODY( )	
};

I would really love hear from someone about this…
Thank you.