This is not a UBI Universal Basic Income; this is a CBI Conditional Basic Income. The conditions are currently being selected and being homeless.
Also this program basically already exists. It is just TANF selected for homelessness instead low-income families with children.
Edit: Universal not Unconditional
I am a fan of a UBI (Universal Basic Income) but these limited CBI (Conditional Basic Income) trials are not really comparable to a long-term implementation of either version.
Taking a specific number of people and giving them cash is certainly going to improve their lives. Giving cash to everyone in a city or state, including new arrival, is asking for local inflation and a population explosion. If the area is empty and has abundant natural resources that can be converted into jobs it will probably work out, at least for a while. If it is a major city with most of the resources and land already in use, and there is not much demand for workers, then the program’s budget is likely to be overrun fairly quickly.