when the player is near to the object the light does not leak but when the player is far the light leaks?

the light leaks from the ceiling and walls how do i fix it…

Quite possible that it is cascaded shadow maps that stop drawing at certain distance.

thank you…