What the other replies have failed to consider is that UBI is just injection of cash. It isn't a voucher for a specific class of goods, such as rent. It is just cash that can be used for absolutely anything. If that means burning cash on a $5000 handbag then so be it. Inflation is literaly the injection of cash into a market.
The problem with inflation is lost value. Cash is an abstraction of value to conduct an exchange. The real world worth of that abstraction is variable. When the availability of that abstraction increases disproportionately to a real world value it will be able to purchase less. The most common reason is that prices increase to follow the increased availibility of cash, but there are other reasons as well.
When everybody equally has uniformly increased purchasing power the natural counter-reaction is to reduce availability of goods and services. That can mean raising prices. It can also mean removing goods from market to make them more exclusive. Any means of restoring value to the prior state will happen to lower disruption to the transfer of goods.
Had you read the wikipedia article it would have addressed everything I just said.