Friends you make at university WILL NOT matter, after you graduate.
Remember secondary school friends, how many are you in touch with?
DON'T sacrifice your degree because you don't have friends, make sure you get a 2:1 or 1st. Continue to the integrated masters! Remember the main reason you came to university, to get an education. It's your final year of your degree, get a good mark. Friends come and go, your degree will be there with you for LIFE. Everyone after graduation will get busy with their job/work or doing masters, no one will have for the friends they made at "university".
Just focus on your degree.
If possible, consider commuting? If not just try student accommodation at university ☺️