Search Issue Tracker
Fixed
Fixed in 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
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
Resolution Note (fix version 6000.0.40f1):
URP : Prevent the fog pass from being enqueued when the fog pass is not properly initialized.