UVa provides a really high quality undergrad education. Some of the other famous public universities put a higher percentage of their resources into grad education and do not provide as high quality an undergrad experience. The grad programs of most of the other famous public universities are much larger on average than UVa’s grad programs (other than law). You can go on the portions of this site for some universities and find many complaints about how some undergrads are treated.
UVa students often have difficulty registering for all of the classes they desire first year, but it is extremely rare to not be able to register for every class you want as a 3rd or 4th year, because you receive preference.
I was not inferring that UNC-CH was better than UVa. I was saying that there were in the same ballpark for academic quality and student experience for most fields. Therefore, if a student was paying much more for out of state UVa than in-state UNC-CH, it would be a questionable decision. Both UVa and UNC-CH provide substantial need-based aid. In any case, the state of NC still provides high numbers of UVa students each year.