#include "Components/ActorComponent.h" UCLASS(meta=(BlueprintSpawnableComponent)) // without this the component will not show in blueprints class MYPROJECT_API UExampleComponent : public UActorComponent { GENERATED_BODY() };