So I have created a Spline that generates a mesh when a certain condition is met I want to change the material along the spline, the spline is done via a construction script and using a reference that was created on the construction script doesn’t seem to work.
For testing purposes i’m trying to get the material to change on event begin play.
Yes, all I want is to be able to change each mesh (along the spline) material to a custom one not exactly have diffrent materials for each part like have the spline white (like it is now) then in my even graph I trigger it to change to blue. Or something along them lines
Here’s how I did it: in the construction script I added all created spline meshes into an array. Then, on overlap, I used the array to change the materials on them all.
So i have used what you said and just changed it to fit what i wanted and the material goes away but it doesn’t add the green material it fills it with the standered ue4 no texture.
If you’d like to upload the project I can take a look for ya. My only guess at this point would be that your “green” material is in fact blank. Silly, I know, but possible… Like I said though I’d be glad to check it out for ya