Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2019.2.0b10
2019.2.8f1
2019.3
2020.1
Issue ID
1188928
Regression
Yes
[SRP] Objects lit by multiple Spot lights sometimes have their _unityLightIndices[0] set to all zeroes
How to reproduce:
1. Open the attached "LightIndicesBug.zip" project
2. Open scene "SampleScene"
3. Open Window > Analysis > Frame Debugger and click "Enable" in the opened window
4. In the Frame Debugger, select "Draw Mesh Cube (2)"
5. Inspect the "unity_LightIndices0[2]" shader property
Expected results: The unity_LightIndices matrix contains three different indices
Actual results: The unity_LightIndices matrix is set to all zeroes
Reproducible with: 2019.2.0b10, 2019.3.0b7, 2020.1.0a7
Not reproducible with: 2019.2.0b9
Note:
If the unity_LightIndices matrix is correct, try moving any of the cubes until you see some flicker in the scene and then use the Frame Debugger to confirm the issue
-
fherbst
Oct 22, 2019 12:57
When will this be backported? 2019.3 is unusable with URP due to this bug!
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] Crash on glXCreateGLXPixmap when hovering over labels in the Inspector window
- "Assertion failed on expression: 'prefabInstance.GetPrefabModification().m_TransformParent.IsValid()'" is thrown when reimporting a Prefab
- Rigidbody2D.Cast does not detect collisions when 'Is Trigger' property is enabled
- GameObjects with "hideFlags.DontSaveInEditor" paired with the "DontDestroyOnLoad" method are not relieved up when the Play Mode is exited
- [Linux] Editor language is not changed when selecting a different language
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.0a8