An UBI that inflates prices doesn't leave everyone back to where they were before.
This is most obvious in the case of someone who doesn't have any money at all without UBI. This person can now buy things, and before they weren't able to buy anything.
Depending on how much money people make pre-UBI, there's a point where the inflation costs them more then they get.