I am trying to get the material from a linetrace, from a object in a actor blueprint. For testing purposes its just a cube with 4 different coloured sides. I found another post about that got tagged answered. sadly the answer contained a png that I assume was deleted. This is what I got from the text.
From my understanding this should output the Index of the material that got hit. and the name of the applied material to that index. but when I try it returns 0 and a empty string.
Here is the Blueprint of the object
Would anyone know how/if it is possible to do something like this , Preferable with a example