Getting linking error when I used a certain method from within Unreal 4 engine source code

After digging farther into the files I realized that the material variable is missing a lot of components and it would probably be easier to use an already existing material. Although i’m not sure there the material and the textures are actually linked so finding how to change the material on a method is my next step