Trying to create an instance of a C++ class within Blueprint using Create Object from Class. The C++ class is derived from Actor, and I’ve added in Blueprintable and BlueprintType incantations in the C++ header. When I compile the Blueprint level, it fails with a “cannot construct objects of type…” Google suggested the need for the BlueprintType declaration, but I could’nt find anything else.
Any help would be appreciated.
A cut & paste of part of the C++ header is below, plus an uploaded screenshot of the Blueprint page
class MVH_BLANK1_API ARCButtonActor : public AActor
// Sets default values for this actor’s properties