1) This creates an incentive to become "homeless." Now any kid can drop out of college, declare himself homeless, and get a free apartment. While it takes time for such incentives to kick in, this WILL happen.
2) This creates classic housing projects problems which inevitably turn into centers for crime, over time deteriorating neighborhoods and creating tension that is bad for everyone.
Every generation, we forget how terribly housing projects work out.
The solution is a basic income, possibly phased out slowly with earned income increases. This allows for a mobility and rational incentives housing projects can not provide.
Public housing projects perpetuate poverty and crime and this will end no differently. It's great that some homeless people have a place to sleep today - just wait 10 or 20 years and see how it turns out. Look at projects and low income housing in every city across the world.