Most cars won't gain anywhere near 20-40 miles per day from solar, though, they're simply not efficient enough. Get the consumption down, and the same amount of panels can accomplish a lot more.
And, most folks who live in awkward parking situations are also near the city where their commute needs are very short. Folks out in the country who need to drive farther, generally have their own parking and can do plug-in charging. (Probably also supplied by solar.)
I guess a wildcard would be making the vehicle lighter.
and that's i'm worried that it's going to be part of a hype to symbolically buy them, wasting the materials to create solar panels even further, only for them to stand in a garage or otherwise well-protected from the sun by the buildings around
The Porsche Taycan only gets 2 miles per kWh. The Tesla Model 3 gets 5 miles per kWh. The Aptera gets 10 miles per kWh.
Maybe 20-40 is too optimistic. But even at 10-20 a day that's going to cover a significant amount of usage. It will cut down the fast charging needed from once a week to once a month or so. That's a significant convenience improvement.