Layer Material Instance bugs

Summary

2 issues within Material Layer Instances, the behavior is different than the default you find in the regular Material or Material Instance that you would expect to be the same.

Issue 1: ‘Color Pick Once’.
This is specific to the Color Picker within a ‘Material Layer Instance’.
This does not happen in the regular Material, Material Instance, nor Material Layer.
In a regular Material or Material Instance, the expected behavior is to open the Color Picker, and be able to click a color, or drag click to other colors, as many times as you want, before choosing one and clicking okay to accept it, and having your last choice be the chosen color.
In this case, I am seeing is your first click registers, and that’s it. No click and dragging either. You get one click to choose. If I choose Red at first, I can’t still choose Blue, I can’t click and drag to Green, I can’t change anything again without closing and reopening the Color Picker.

Issue 2: ‘Checkbox Reset’.
Again specific to a ‘Material Layer Instance’ and is not present in other Materials or Instances.
Normal behavior is if you uncheck a checkbox, it will retain the value you entered previously so you can return to it simply by activating the checkbox again.
In this case, unchecking a checkbox will both turn off that parameter, and reset its value to default at the same time. No need to click the reset arrow to do it. You will just lose whatever value was there before.

What Type of Bug are you experiencing?

Level Design & Art Tools

Steps to Reproduce

I have repeated these tests in 5.8, 5.7, 5.6, and 5.5. It behaves the way I expect in 5.5, but not the other 3 engine versions. (In 1 of them, either 5.7 or 5.6, I forget which sorry, the ‘Color Pick Once’ actually immediately closes the Color Picker on that first click.)

Steps to test what I’m talking about:
Make 1 Material. Make an Instance of that Material.
Make 1 Material Layer. Make an Instance of that Material Layer.
Within the Material you need 3 nodes. A Texture node, a 3Color node, and a Multiply. Pipe the Texture and the 3Color into the Multiply, then connect that to the Base Color. Right Click on the Texture and the 3Color to Convert To Parameter so that it shows up in the Instance.
Do the same setup in the Material Layer with the same 3 nodes. In the Material Layer, you have to click on the SetMaterialAttributes node to click on the Plus sign to add the BaseColor Input. Pipe the multiply into this.

At this point you can save all and test the previous 2 issues by opening the Instances of both Materials. Within the Material Instance, things should work as expected. Within the Material Layer Instance, you will either get the same issue I am getting, or let me know that there’s something wrong with my PC or UE install because these bugs aren’t replicating on your end.

Expected Result

Issue 1: ‘Color Pick Once’: Be able to pick a color the same as in a regular Material Color Picker.
Issue 2: ‘Checkbox Reset’.: Retain value on checkbox Deactivation and Activation.

Observed Result

Issue 1: ‘Color Pick Once’: Only first click chooses color.
Issue 2: ‘Checkbox Reset’.: Loses value on checkbox Deactivation and Activation.

Affects Versions

5.8
5.7
5.6

Platform(s)

Windows

Upload an image

UE_MaterialLayer_2Bugs.gif