Static mesh component array variable doesn't populate
Hello, I am trying to load a list of static meshes into a variable.
I am confused, since I can print what I want just after creating my variable, however, when I get my variable separately and try to print its content, I only get the last element of the array.
Any idea on what I am doing wrong here?
asked Apr 24 '18 at 01:59 AM in Blueprint Scripting
you shouldnt be using a set in this case. instead you want to be using a add or add unique node. what you currently have tells it to get the components then make an array of only those components so its overwriting the array everytime.
what are you doing where you need to get the meshes of all actors of that class? seems like and odd situation or that there may be a better way to go about it.
answered Apr 24 '18 at 02:05 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here