Funding problems for the 100% affordable intergenerational housing development would be overcome by a $12.8 million loan from Emeryville.