A lack of affordable housing and soaring rents risks splitting communities and making people homeless.