Search Issue Tracker
By Design
Votes
3
Found in
2022.3.16f1
2023.3.0b1
6000.0.0b11
Issue ID
UUM-59476
Regression
No
[URP] Lighting effects leak through walls when playing the Build
Reproduction steps:
1. Open the attached “BugRepro” project
2. Build and Run the project (File > Build And Run)
3. Go to the location (shown in video) in the Player
4. Observe the Player screen
Expected result: The room is dark
Actual result: The room is lit by the light sources from other rooms
Reproducible with: 2022.3.16f1, 2023.3.0b1
Couldn’t test with: 2021.3.33f, 2023.2.4f1 - The Player fails to build due to compilation errors
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Comments (1)
-
mrc_akka
Aug 29, 2024 15:08
Reproduced with only one spot light through a wall in unity 6 (forward, forward+, and deffered)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
This scene has too many lights so some are not rendered with shadows. The limits are described here: https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@17.0/manual/urp-universal-renderer.html.
The light count is all the lights inside the camera frustum it does not know which lights are obscured by walls etc.
If you want many lights on mobile then typically lights are baked. If the lights have to be realtime, then you could script the lights to be enabled based on where the camera is.