I am not opposed to a UBI, but I do have a better idea. (If it matters, I do have an M.A. in economics.) I call it an “allotted income.” As I conceive it, it would not be paid to everyone, but it would be a guaranteed minimum income for all citizens. (A minimum pay for non-citizens would be a separate issue — and any nation could adopt this paradigm.) The amount of the income would be based on the current median income, so in the U.S., say, $15/hr.; $600/wk. The money for the income would be crated as needed, so it would be free. The total of the income would form the supply of money for the economy. There are built-in protections against inflation.
This is not something I cam up with this morning. It is fully thought out and rigorously developed.