Caterpillars have different strategies for the winter period. Some appear in mid summer then over winter as pupae. Others start their lives in autumn then spend the winter months in a state of semi hibernation under the leaf litter etc before reappearing in the following spring to continue feeding and growing to full size.
In cool locations, some caterpillars will spend a full year before pupating.