How to randomly assign color to objects in an array I have this stack of 1610 bricks. The stack was built by starting from one brick, and then applying 3 consecutive arrays on it (3 dimensions).
I want each brick to be randomly assigned any of 4 fixed colors, but the node I came up with (picture) only seems to assign a single color to the entire stack.
What did I do wrong, or what is an alternative way?
PS: I want to keep the Arrays (if afterward I want to adjust the distance between the bricks, or the dimensions of the bricks)
I was in Eevee, changed to Cycles and it worked. There was no need to apply the array modifiers, so they are still available.

Further reading: Randomized color with array modifier