Why does the quality of my videos being reduced after uploading them to YouTube?

Menelaos1996

Honorable
May 1, 2016
98
1
10,665
Hello everyone,
The problem I am experiencing is that I am currently into making games and upload them to my channel on YouTube but I am facing a challenge.
No matter how many threads I read on how to deal this problem I simply couldn't.
I am recording my game with OBS Studio on 720p, 8500 bitrate, N.264 codec and 16:9 aspect ratio. Rendering the video with Sony Vegas on the same settings and the video on my computer when I play it, it looks crystal clear but after uploading it to YouTube the quality decreases.
Well it pixelates to be honest.

Any help would be greatly appreciated.