I’m trying to find the C++ equivalent of the “Add Static Mesh Component” blueprint node.
So far I have followed this solution (Add Static Mesh Component C++ - C++ - Unreal Engine Forums) as showed in the attached image, but the error i’m receiving is