[BLUEPRINT] Spawn Component From Class

Hiya,

I thought I’d make a quick post about this; this used to be something on the issues site, but since that was removed due to being a feature request, I thought I’d make a post about it.

I’m hoping that we would get a blueprint node that allowed us to create a new actor component during runtime, similar to Spawn Actor From Class. I recently had to pick up C++ and create my own function to achieve this; while it worked, I am not good enough with C++ and node development to get things like access to all exposed variables on creation. Having this node officially added would be a big help, since while you can add pre-existing components like ‘add mesh component’, you cannot add a custom actor component during runtime through blueprint.

Thanks!

Hey, it’s already implemented for 4.26: https://github.com/EpicGames/UnrealEngine/pull/6681