Search Issue Tracker
Fixed
Fixed in 6000.0.X, 6000.0.40f1
Votes
2
Found in
2021.3.46f1
2022.3.53f1
6000.0.30f1
Issue ID
UUM-90255
Regression
No
Point Light source stops lighting when moved out of camera frustum in Player while having 2 directional lights in scene present, and a fog enabled by script
Reproduction steps:
1. Open the attached project “IN-89793“
2. Open the scene “SampleScene“
3. Build&Run the standalone Player (or Build and then run Player manually)
4. Using WASD keys and mouse, move the camera in a way so that the Point Light source (cube on the ground) is moved out of camera frustum
5. Observe the result
Expected result: Point Light source is still lighting the area, the source is lighting only in an area.
Actual result: Point Light source stops lighting the area after the Point Light source is moved out of camera frustum. When lighting is enabled, the source is lighting the entire scene, not the area
Reproducible in: 2021.3.46f1, 2022.3.53f1, 6000.0.30f1
Could not test with: 6000.1.0a7 (see internal notes)
Reproducible on: macOS 14.6.1 (M1 Pro), Windows 10 (user)
Not reproducible on: No other environments tested
Notes:
- Reproducible only in Player
- Reproducible only when 2 directional lights are present in the scene
- Reproducible only when fog is enabled from a script (in the project, the fog is enabled in “Start“ method of “CamController“ script, this script is attached to "Main Camera" GameObject)
- Enabling fog through Window → Rendering → Lighting in Environment tab does not produce the same result, in that case the lighting will function as expected
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
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Adding available Nodes with longer names in Fragment Context window overflow Fragment Context window in Shader Graph
- "Layer Palette Profile" Asset is automatically applied to the second Terrain but doesn't load any layers
- "Terrain Tools" shortcut conflicts with the Overlays shortcut by default
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
Resolution Note (fix version 6000.0):
URP : Prevent the fog pass from being enqueued when the fog pass is not properly initialized.