Your comment assumes that UBI is financed through printing more money.
If UBI was financed through taxes, UBI would not have the inflationary effects that you describe.
If UBI was financed through taxes, UBI would not have the inflationary effects that you describe.
IMO the only viable responses are either rent control, or more elegantly, high availability of public housing at fair rents mixed with private units so as to not create class segregation.