i am getting this error while trying to click on a box that has switching material variants … how to fix this?
this is the blueprint on the actor itself:
i am getting this error while trying to click on a box that has switching material variants … how to fix this?
this is the blueprint on the actor itself:
It looks like what is happening is you’re actually finding no actors by that class, or at least they aren’t being added to the array (which is less likely).
Try a for each loop that adds all actors of class to a new array then get from that new array.