Variant manager can't change mesh and material at the same time

i create a variant set with one single staticmesh,change 2 Properties:mesh and material[0]. but when i use it in the scene ,it can only change the mesh ,can’t change the materia . i know if i use 2 staticmesh actors can solve this problem, but i want to know if i only use 1 staticmesh , can i change its mesh and material at the same time?