Spawn Class by Variables

I am not quite sure what you mean…

Are you asking why you can’t spawn an actor via a reference to an already existing actor?

67615-unbenannt.png

My Question is:
Why SpawnActor doesn’t work with ‘Object Types’ ‘Actor’ ‘Class’.
How can i fix this?

thanks for every answer

i connected the class variable (which is set as a actor blueprint) with the class that should spawn.
but nothing spawns when i try it.

Doesn’t it spawn anything in your level or did you check the world outliner as well?

Because an actor has by default no visible part you won’t see anything in your level.

SpawnActor function in C++ (which will be called when you use spawn actore node) always on all fail scenerios (when it return null/none) prints reason why it does not spawn in logs. Open log by “Window->Devlopment Tools->Output log”, trigger the spawn and see what logs say.