layer from the compositor. I've solved this by changing the behavior, now it always renders a vector pass even if Do Composite is disabled. I think that's more consistent because other passes get rendered too regardless of Do Composite, the vector pass was just an exception.