Spawn actor from class should take blueprints as well. Technically, blueprints ARE classes. I imagine you’d have a C++ function for spawning blueprints specifically because you’d need to load the blueprint and then get it’s class, and the function could do that for you.
Hi everyone,
My problem is that in every blueprint i have,i can’t call the “Spawn Actor from Blueprint” function.
The only function available from the menu is “Spawn Actor from Class”,i’ve tried opening examples and new project but in every single blueprint it seems that the function isn’t available.
Has it been removed in the 4.1 version?
How can i solve the problem?
Thanks in advance.
Blueprint is Class, you pick name of class and parent of class and that blueprint class is same as valid as C++ class
Isn’t it just SpawnActor now? From the list you can pick class or your blueprint.
I’m not near UE4 now, but I see other people using SpawnActor node:
Thank you for your answers,
I was so wrongly sure that the problem was that i was using “spawn actor from class” instead that “spawn actor from blueprint” that i actually didn’t notice that the “is valid” function returned false,not because the cast type was invalid (blueprint->actor),but because i had a function well before that,that was setting the class i was using for the “spawn actor” function to null (None).
@Zielak It should be just “SpawnActor” now,but in the blueprint editor it still pop up with the description “Spawn Actor from Class” (at least for me).
Thanks again.