> Also a UBI will disincentivize working jobs that are undesirable but are necessary for a functioning society.
That's kinda the point. You drive up the cost of undesirable jobs until you find someone who'll work it. If no one wants to work it, you'll need to automate it or do without.