Really high contrast and Saturation on Build caused by enabling post processing

Since I updated Unity from a 2021 beta to a current release every time I make a build of a game it looks really saturated and with high contrast, resulting in an almost black image making the games unplayable.

I noticed this only happens when the Post Processing is enabled in the Main Camera, but having the post processing disabled isn’t ideal because most of the game’s aesthetics rely on the PP.

This only happens on build, if I test the game on the editor via Play Mode it works as expected.

This bug is really annoying and after hours of research I couldn’t find anything so it would be amazing if someone has found this bug before or knows how to solve it.

This error happened after updating the project from an older version of unity because said version wasn’t supported anymore.

It seems like reinstalling the URP package fixed the issue!