Using Arrays in Materials

I solved it with Material Parameter Collections.
Actually they can only be read if at least one Parameter is set as an input for your custom expression.
If you need further informations I can provide them