The light passes through the door frame and the door, I use shadow maps instead of virtual shadow maps as it gives an increase of +20 fps, but there are some bugs with the light.
Take a peek at this discussion. I pulled this up earlier when looking into your issue and I think this may help shine some light (No pun intended) on the situation. Let me know if this helps! Door leaks light in a dark room
Oh, and I forgot to write that I use dynamic lighting. If use static lighting and bake, then naturally the problem goes away, but I need it to work with dynamic lighting.
Oh, I see. In that case I wondered is this only happening with doors or is it happening in the corner of walls and such too? If it’s just the door, make sure that you’re not using single-sided meshes for it. I assume that you’re using dynamic directional light. Is the dynamic shadow distance movable light set to default?
Light passes through objects everywhere, and especially if you move further away, things get even worse. “dynamic shadow distance” - where is this parameter?