Get wood-2 array and check it’s length before running the loop. I assume it’s not empty because print string fires of, which lead me to asking about your material setup.
I made 2 dynamic materials each material was set for each set of actors .
Material ( Wood - 1 ) and material ( Wood - 2 ) then i set a dynamicmat-1 and dynamicmat-2 then did the whole process but i don’t know where is the flaw .
is it the widget or the code ..
thank you for your effort to figure out the issue .
I need to see what’s inside this file.
My guess is that you never setup Gloss and Texture parameters inside it, so your logic fires of but there is no matching parameters inside Wood-2 material to actually change anything.
I replicated your setup 1:1 from screenshot and it does work for me.
You can right-click on Texture Sample and convert it to parameter. You don’t need the param tex object node at all. I posted a screenshot above with how it should look like.
If this doesn’t solve it, issue is with blueprint code but really hard to tell, some screenshots are not readable.
sadly didnt work but i noticed in wood 2 it really changing the glossiness but not interacting with texture , I did convert texture to parameter as you said in both materials . wood 1 option still working - option 2 just changing glossiness
Have you tried using wood-1 dynamic instance (since it’s the same as wood-2) where you plug in Dynamic Instance 2 (Set Material Node)?
It’s very strange indeed, it must be something silly at this point
it did fix looks like index value i forgot to adjust the index value and you were not able to view cuz of SS quality now it seems to work perfectly fine .