Material Attributes Broken in 4.5

After updating the engine, materials that were using the Materials Attributes pin did not displaying textures correctly. Downloaded the Matinee Fight Scene for 4.5 and the materials with Material Attributes enabled (floor/wall) do not work either. It worked fine in 4.4.3 and lower. Not sure if this is a problem with the installation on my end or if some change to the material editor causes this feature to no longer work properly?

Hopefully this screenshot clarifies the issue. Regular materials display the textures fine, but anything with material attributes pin like the wall are broken.

there is a way to make it work by using the “BreakMaterialAttributes” node with the regular pin, but this work around seems messy? Does anybody else encounter this issue?

Hey visoutre -

Are you still experiencing this bug in 4.5.1?

Thank You

Eric Ketchum

Yes the bug is in 4.5.1 as well.

Sorry for the confusion, tried using the Material Attributes pin on a newly created material and it does work after all, so this is not the problem.

Exploring the issue further it seems the two materials using the Material Attributes pin in the Matinee Fight Scene demo have a MatLayer_FeatureLevelSwitchc material function. When that is not connected the materials work fine. The material function has a comment “for Mobile” and inside the function it has an error "Missing Preview connection for function input ‘PC’ It’s not a major issue for me anymore, but if there is a way to debug it the answer would be in the Matinee Fight Scene demo scene.

Hey visoutre -

I am not seeing the same results in opening my Matinee Fight Scene Sample. As far as the warning “Missing Preview Connection for function input ‘PC’,” this is a warning only that you have no way to preview the function in the Material Editor. The node itself would be passing the PC input from outside of the function through this input node, so this alone should not be causing you any issues.

Have you upgraded this sample from previous engine versions? If so try to download the latest version of the sample for the 4.5 engine and see if you experience the same problem.

Thank You

Eric Ketchum

I did redownload a new copy and the issue was there on my end, but it’s okay since this doesn’t affect my projects. Thanks for the help and patience.