University is a time where most people want to explore. A lot of your friends likely befriended interesting people they enjoy hanging around, and over time developed attraction and curiosity towards deepening a particular platonic relationship. Many of your peers likely aren't vying for a long term partner or searching for a soulmate at this stage, they just sort of went along with whatever budding feelings sprung up when they developed a crush on someone.
Attraction is entirely random, and often times will hit you completely out of left field. The person you least expect to form a connection with could end up being a future partner as the heart unexpectedly grows fonder. The frustrating thing is this process is almost always out of our control. You can lose feelings for someone, but it's very hard to develop and sustain them.
With time, hopefully you can meet some chill people and form connections with them. At the very least, you may end up with some cool friends, even if you don't find a romantic match. Proper platonic relationships are just as invaluable, especially when love and lust fall through.
I understand it's very frustrating though. A guy I know who is fit, intelligent, good looks, and a complete sweetheart took years to find a girlfriend, after being burned time and time again by shallow people on dating apps who would insult him or ghost him when they'd scheduled a date. He couldn't find a single person on those toxic cesspools of piss taking. Then out of nowhere, a random girl from his course started taking a liking to him and wanting to watch films with him. No one predicted that at all.
My point is, there's no real method to finding compatible people except to minmax your socialising and meeting loads of strangers, which is no easy task, I'm aware. When the right person comes along, you'll know it. Good luck with your love quest, mate.