Lets say we have a child who is in 5th grade who reads at a 1st grade level. Most programs will say oh well he/she just needs more education so they create after school tutoring. That's great but there are so many things that can be hindering that child's ability to read. The real root may be a medical issue, family issue, cultural issue, structural or a combination of one or more.
People aren't equations, you can't just input x and expect y.
People react in mostly predictable ways to certain environments and situations. We're largely deterministic state machines. This kind of mystical thinking devalues the importance of a scientific, objective, data based approach to solving human problems. We aren't an exception to science.
In the most "free market" version of a UBI vision, there are no government-subsidized social workers. If you are blind, deaf, learning impaired, addicted, etc you are at the mercy of whatever help you can find by paying for it.
But there are also visions of UBI that combine it with current social services, as opposed to replacing them.