Can't spawn c++ actor from blueprint

Hi there,

Trying to use the node SpawnActorFromClass to spawn my blueprint instance a C++ actor class my programmer made. I made sure the header file declares it as Blueprintable, and the variables are EditAnywhere, BlueprintReadWrite. Not sure what I’m missing, any ideas?

Thanks!

When SpawnActor fails to spawn it always output reason in the logs, open Window->Development Tools->Output Logs execute oyur code and search for error poping up

SpawnActor function will spawn regardless of UCLASS and UPROPERTY specifiers (i think only Abstract specifier would cause issue), so don’t worry about that, issue is somewhere else.

I recommend you to always have a Output Log tab around as lot of things leaves messages there