Description
If a procedural texture is attached to a CustomMaterial, it is only shown for 1 frame and then replaced with black color.
How to reproduce:
1) Run the attached example.
There are 2 materials in the example:
DefaultMaterial - painted properly
CustomMaterial - painted properly only for one frame.
Should also be fixed for PrincipledMaterial.