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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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