Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.7f1
2023.1.8f1
2023.2.0b4
Issue ID
UUM-45666
Regression
Yes
Lights (except Directional) are not rendered on GameObjects when the queue is set to All Opaque
How to reproduce:
1. Open the “IN-49943_bug2.zip“
2. Open the “OutdoorsScene“
3. Observe the Game view
Expected result: Light is rendered on the “Cube“ GameObject
Actual result: No light is rendered on the “Cube“ GameObject
Reproducible with: 2022.2.3f1, 2022.3.7f1, 2023.1.8f1, 2023.2.0b4
Not reproducible on: 2021.3.29f1, 2022.2.2f1
Reproducible on: Windows 10
Note: Reproducible in Player
Comments (1)
-
iamarugin
Apr 16, 2024 08:53
I set the injection point earlier and it doesn't work.
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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note:
For an opaque object to receive correct lighting, it needs to write depth before light list building.
In the project, the custom pass injection is before transparent, which is after opaque rendering so behavior is expected.
To fix your issue you should either use a transparent material with transparent renderqueue, or set the injection point earlier