Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2019.2.X
Votes
130
Found in
2019.1
2019.1.3f1
2019.2.0a1
2019.3.0a1
Issue ID
1155879
Regression
No
[SRP] unity_LightIndices[1] are identical to every object and are set per frame
How to reproduce:
1. Open the attached "case_1155879-LightIndices" project
2. Move around the Scene and inspect how the spheres are lit
Expected results: The lighting should not change
Actual results: The lighting changes and flickers
Reproducible with:
2019.1.6f1 (with SRP 5.16.1)
2019.2.0b6, 2019.3.0a6 (with SRP 6.7.1)
Note: By using the Frame Debugger you can notice that every rendered object has identical unity_LightIndices[1]. This data is set every frame instead of every draw and can change based on the Camera's position.
-
Jasper-Flick
Nov 22, 2019 21:27
The indices still fail when the SRP Batcher isn't active, when more than one material is used. It fails in so many ways that I don't know where to begin. Do some tests!
-
Jasper-Flick
Jun 19, 2019 09:31
Although this issue is listed under Scriptable Render Pipeline Lightweight, it affects all SRPs. It's not a bug in the LWRP package, but in Unity 2019.
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
- [Linux] Editor can't find Audio Spatializer when using PS5AudioSpatializer plugin
- [VFX] Custom HLSL with 'int' parameter, without the 'in/out/inout' access modifier is not supported
- [Windows] Lens Flare doesn't work in the Lens Flare Showroom URP Sample Scene
- Crash on ujob_execute_job while using OverlapBoxCommand when collisions are more than maxHits
- The validity of the multiple handles can behave differently based on the load/release operations order, when multiple Addressables.LoadAssetAsync and Addressables.Release are used to load and release the same Addressable Asset
Resolution Note (fix version 2019.3):
Fixed in: 2019.2.0b10, 2019.3.0a10