Why my custom C++ objects does not have usual preview?

Screenshot 2023-12-28 234944

Even though i make new actor components it shows up like this and I can add them to an actor but it will disappear upon restarting the editor. also I get this warning “Unable to load “Name”_GEN_VARIABLE with outer BlueprintGeneratedClass /Game/ThirdPerson/Blueprints/BP_ThirdPersonCharacter1.BP_ThirdPersonCharacter1_C because its class (“Name”) does not exist”.

PS: these actor components are in a plugin which I’m currently working on