Recently, I updated my render pipeline to URP, and I had some problems with the lighting but I managed to solve it in the last, but one problem is that my game contains fog, and as soon as I disable the fog, the game runs perfectly and there are no light matters, so I changed the fog type to linear, it was better, but I still have a problem, when the cubic player reaches a point, the lighting behaves really weird…
So can anyone help me with this issue?
This is what is happening to me
linear fog, two screenshots, and two different positions of the player
1:
2:
I’m using unity 2020.3.3f1 by the way…
Thanks for your help!

