Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X

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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.