Our homeless problem is the result of 2 things: a mental health problem and to a much lesser extent the pervasiveness of the speculative real estate market driving up costs (a market largely driven by equity in the California housing market I might mention).
The solution to this problem is not less detached housing, it is more of any housing anywhere that it has been artificially suppressed, and raising interest rates to a market dictated level rather than artificially suppressing them to hold up the house of cards, and more importantly, helping people address their mental health problems.