I figured out why my button doesn’t work. Because the object reference did not specify which object is want to change (it is possible to have many same objects). After the object is defined as an array index ‘0’, the static mesh can be set!