I've brought up this idea before. Have part of the UBI of children go into a fund that they can then access at 18 to use for schooling or whatever they please. With CPS helping with neglect cases while they are young, the child then isn't stuck in perpetual poverty, because at age 18 they will have savings and full UBI in hand to make their own life. The money not in the fund either is used responsibly for child rearing by the parents, or foster parents if it comes down to that.
It's a laudable goal, but giving a bunch of (mostly) naive, uneducated kids a lump sum of cash is a recipe for disaster. There would instantly be an industry focused on parting them from that money, one that would be extremely profitable and mostly not related to education.
You weren't given cash, but today kids are given an essentially unlimited amount of government backed loans to pay for school - the availability of which has caused education costs to skyrocket.