Hello, I am attempting to change the material of an actor (child blueprint if relevant) and attempting to switch the material through a value derived from a data table row.
For some reason this does not work in the inspector (editor?) and only in the blueprint itself. Changing the row in the blueprint will change the material to the correct one- however changing it for an instance in the scene does nothing- but it does change the other data such as the description so it is successfully changing the instance’s row, but not the material?`The switch and set material nodes are also not the problem as changing the switch’s selection to a separate variable and manipulating that in the scene for the instances instead changes the material properly.
I would ideally want a solution that lets me just use the “Type Variant” variable from the row itself to change the texture rather than having to set another variable if possible.
Things I’ve tried so far that didn’t go anywhere:
Passing the Datta Table Row to a new variable in the blueprints and then breaking, getting, etc, that.
Setting a new variable to the Type Variant variable and getting that instead of Type Variant directly.
Both of the above at once.
Adding a separate Material variable in the Item struct itself and using it for “Set material”