Why does the Array modifier wreck my node texture?

I am not a champion at nodes quite yet, but I thought I had a pretty good hang of the basics. So I made a procedural brick texture, and it worked fine. Except there is something that goes horribly wrong when I use arrays with it. The top image to the right is the small plane (seen independently on the left) copied into 3x3 planes, while the lower image is of the exact same plane given 3x3 array modifiers. Why do the modifiers screw the texture up so badly??

PS: Ignore the other models, I’m making a kit for previz construction (animation, not CAD related).

Fixed. Apparently, nodes and arrays don’t like each other unless there’s a UV map (and UV input node) there to calm the waters. Here’s the (mostly collapsed, reference above) nodes, and the result. If you were curious.