Set members doesn't work with array element

Confirming the workaround of assigning the struct to a local variable that will then be modified works.