How to change parameters in layer material with c++

How to change parameters in layer material with c++?

I try typical

DynMaterial->SetVectorParameterValue(TEXT(“MyColor”), GreenColor);

but its not worked

some AI says me add Layer1_MyColor but its not worked.

some anothers ai says me put all path Layer1:ML_Asset_1_Cmap:AdjustColor:MyColor

ML_Asset_1_Cmap - its my layer asset name but its too not worked. I dunno AI its always give differents not worked variants.

I check with code my MyColor variable can be found, and exist twice (my material have few layers) but why its not changed? Its not constant. I can change it in editor fine too.