When CasCap is enabled in Side mode, and the mission is started in SP, CasCap generates a zero divisor error and instantly ends the mission.
This is because CasCap uses playableUnits, which does not exist in SP. It can be fixed by also checking switchableUnits.