my game displays only 4 lights(URP)

My game was working fine until I went to play in the settings and since then, only the 4 closest lights are displayed (the closest ones).

The problem is that in my game there are a lot of lights and several are visible at the same time which makes the game very ugly.

I tried to increase the number of lights but I don’t have this option. I use URP. Please help me.

There’s a limit of how many lights can affect an object with forward rendering path. You will need to change to deferred rendering path (or forward+, if already available) if you want to get rid of that limit.

Source: https://forum.unity.com/threads/universal-rp-max-object-lights-limit-problem.907985/#post-6825767