Longevity is absolutely a big factor in underfunded pensions. "Actuarially sound" is based on projections of how long retirees will draw from pension funds. When retirees start consistently outliving those projections, a sound pension rapidly becomes unsound.