Material instance parameters losing values in 4.19

I reported a similar bug on day one, where mat functions parameters inside other mat functions wouldn’t be saved in mat instances.