Hi,
I have a C++ class that’s a child of AActor. If I go to level blueprint and type SpawnActorByClass I can see my class there and select it. That’s fine.
But now I have a blueprint that’s based on that class. And for some reason when I try to use SpawnActorByClass to spawn that blueprint I don’t see the blueprint class in the list. Only the base is there.
Any ideas ? Is there something special that needs to be added/exist in the blueprint in order to be able to spawn it from the level ? Or is there something I might be missing from my C++ class in order to make blueprints inherit from it (I do have Blueprintable on it). Note that I can drop this blueprint directly in the level editor and it works fine.
This is the base class of the blueprint (and again - I can see this one in the list offered by SpawnActorByClass. What I can’t see is the blueprint classes that derive from it):
UCLASS(Blueprintable)
class TEST_API AMyActor : public AActor
{
GENERATED_BODY()
…
}