I was using Spector.js Chrome extension to debug our migration to UBOs and stumbled upon this.
We have the following uniform block:
layout(std140) uniform DirectLightShadowCastersUBO {
float frustumSplits[3];
int directShadowCastersMask[1];
mat4 directShadowCastersTransforms[3];
};
And spector shows the following for frustumSplits

The displayed value is 0.1683, 0, 0 which is wrong. The last two values shouldn't be zeroes.
I think Spector is ignoring arrayStride here, because when I put some numbers into the buffer one after another I can actually see them in Spector.