Unfortunately this can be the reality for some people including myself, I know thats maybe not what you want to hear, but its the truth in some instances. I'm now in my third year of University (Graduating this year (hopefully)) and I can't say I really have any friends in University or have made any. I think part of it can depend on what course you're doing, for example I do a business course and the subject sessions are primarily lectures, thus you don't really get the time to talk to people to make friends. Because of this I primarily work at my job and study from home.
In your first year of University you tend to meet a good amount of people and then never talk to them again. I am sort of a hypocrite with this as I did make a few friends with people in my first year but I didn't feel as though they were "my people" or the type of friends I wanted to be with. For me it was mainly because they were obssessively annoying, loud, and rude, and because of that I think me stepping away from them was justified. I presume you were living in halls for your first year? Most people (from what I've read online) rarely talk to their first year flatmates again, which is something I experienced myself. I had good connections with all of them, but its just a weird thing that you don't talk to them again, like some unwritten rule?
Another thing I wanted to add, don't feel bad about yourself, there isn't anything wrong with you, a lot of the things you mentioned, i.e. ghosting, people no longer talking to you after a while, is unfortunately common. I find that most people at university tend to be two-faced and inherently untruthful, but not to an extreme level. I think University is an odd stage in life, more so if you're still in your teenage years to mid twenties, I think a lot of people, including myself are all trying to figure out what they want, who they want to be, who they want to be with etc, because they're still young, including yourself.
A lot of this also, I think can depend on 1. As I mentioned earlier, the course you chose, and 2. The University you go to. The University I go to is neither in the Best catergory or Worst category. I think the more successful/prestigious a University is you have a better chance of connections. I believe this because I have friends who go to Norwich University of the Arts and the University of East Anglia, and unlike me they're having a great time, however, I could be wrong. I think the idea of the "Uni lifestyle" does exist but you unfortunately have to be lucky.
Now enough of the negative talk, I'll give you some suggestions to actually make connections with people;
For me, my way out of this feeling of lonelieness is to find a good job, with a good environment, and good people. I don't particularly love my job, I have a love-hate relationship with it, but what makes my job enjoyable is the people and thats how I personally get through it. If you don't have that, leave your job immediately, you're a student and you don't need a crap job weighing you down further. I have made much better friends and connections through my job, I actually go out with them and do fun enjoyable things. Some of my friends at work are a significant bit older than me and often have some good stories and life advice.
Find a hobby
I've always had a passion for mountain biking/cycling. Although I cycle alone around my city, I find this enjoyable and freeing as you're away from the stress of a multitude of things, and I think its important to be doing something that its active and away from a University and/or a job setting. If you have a passionate hobby, go out and do it!
If you're athletic/into sports, join one of the sports teams.
I myself personally haven't joined a sports team, but I know for a fact that if you have a sport you enjoy or played previously in highschool you'll definitely make friends there.
Enjoy your time alone:
Eat good, make money, and spend your freetime doing things that you enjoy.
For me I always treat myself with the excess money I make from work, play videogames, and watch streaming services.
But yeah, I'm sorry you have to go through this. It is tough, but at the end of the day a lot of your interactions at University and Work are all temporary and will all lead to something bigger in the future that will pay off.