Soz Furey, missed this post then couldn't reply.
I'm in my third year of study, the course is four years.
Still like the course content itself, but staying engaged is an ongoing struggle
No worries, mate.
My advice, while probably unoriginal, is just to thug it out for another year. I've just finished my fourth year and began it feeling similar to you. Granted things in my social life weren't affecting me so I imagine that's tough.
Just look at it this way, mate. You've got summer coming up to blow off a lot of steam and have a good time, maybe try and sort things out between you and your mates. After which it's 9-10 months more of uni, get your degree and put it behind you.
Obviously it's up to you and what you think is right, mate. One thing I would stress is uni or no uni, don't get yourself down thinking you're wasting your life because from what I've seen it takes most people until a lot older than 21/22 to have the lives even remotely sorted.
P.S. Dunno if you're finished for summer or still in exam season but in any case best of luck!