Packet loss in game only while streaming OBS/Streamlabs

I have been streaming in obs for 6 months on a single pc (4090 with i90) without any issues but 2 weeks ago the packet loss thing came up. My settings are tuned. My wired connections is 100mb/20mb without any packet loss after testing it through cmd. I also tried changing streaming service and app with new settings and again I have the same issue. I have tried all the range of bitrate from 2k-12k and even changing res 720p to 1080p. I run OBS as administrator and vise versa with the game. I cannot figure it out.