The modified variant cannot synchronize the configuration parameters of the parent variant

Not sure because I don’t know the langage you use but I think you’re experiencing this issue. Properties don’t cascade to children in Figma.