Unfortunately virtual scarcity will persist for some time. This is because the economic system isn't organized enough to distribute all resources fairly and efficiently. As jobs decline (due to increased automation and export), the old way of distributing resources fairly fails, and virtual scarcity will increase.
UBI seems like it can fill that gap but I worry that it's an overly simplistic solution. It seems like it can cause runaway inflation without a counter-balance. What prevents rent/food/gas prices from simply going up?