Kinda new to Unreal, so nice to meet you all. I’m on a learning path, currently trying to follow the “Exploring Blueprints” tutorial: LINK
Right now I’ve followed the three ‘Material Swapping’ videos nearly 10 times, redoing the whole thing and I can’t get it to work. I’ve barely any coding knowledge so this is a whole new world for me. I’ve come to a point where I kinda figured out where the logic isn’t working and I can see this:
I don’t know what else to share to try to figure this out, so please ask me for any other information you need. I’ll be happy to post it, but I really need to get through this before I give up
In order for someone to solve your problem, you’ll need to share what the problem is. Please explain what the desired behavior is, and what the current behavior is. Thanks.
Thanks for answering! I was so into the issue I actually forgot to clarify what happened, sorry for that. The overall goal for that part of the tutorial is to make the material of a mesh change, once that mesh is clicked:
So when I run the preview, I can see that when I click the mesh the logic goes as expected and cycles through each of those “Set Material” nodes, but once I open that function, I can see that it stops:
So basically what I’d like to know is where to start looking for the mistake so I can provide the necessary info here. I know it can be anywhere, but I can’t find an easier way to troubleshoot this.
The only way the execution would stop at the “For Each Loop” node would be that the “Speaker List” array is empty. Could you look and see if there is anything in the Speaker list?
I can see that the logic is setting up that variable, but you can see at the right of the image that the variable says 0 array elements. Then it goes here:
I’m an idiot. Thank you so much !!! I went through all this like a hundred times and couldn’t spot that stupid thing. Anyways, a rookie mistake I guess. Once again, thanks for taking a look! Everything works now.