what im trying to do is,
there is a dynamic array of a struct.
the struct has staticmesh and staticmeshcomponent variables.
when the user adds an item to the struct array in the blueprint editor, i want the staticmeshcomponent to be created and the static mesh set.
i tried in the class constructor but it doesnt work, guessing because that doesnt get called when the blueprint compiles.
how can i handle this?