Sometimes when loading in(I was partied up at the time) when a role was chosen(even with riflemen that should have no unit cap) you would enter spectator mode as if the role was already chosen. In order to work around it not allowing you to spawn as the chosen class I needed to chose another class, spawn, then got to the ammo crate and respec and I could then chose my desired class.