Search Issue Tracker

Fixed in 2019.3

Fixed in 2019.2

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

Package

-

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.

  1. Response avatar

    Resolution Note (fix version 2019.3):

    Fixed in: 2019.2.0b10, 2019.3.0a10

Comments (3)

  1. Efe79f65b219936f2d04856fe29b09ac?d=mm

    alvinrr

    Aug 11, 2019 03:07

    You can Download and Play free games on your PC. Check out https://games.lol/applist/keyword/few-improvements/

  2. 69632cee18eeebb27afe281cf169df14?d=mm

    joshuaprice153

    Aug 05, 2019 05:19

    I will must share this blog and the information i found here really has no value in money but more than it. Thanks for this nice effort which you put here in the shape of this post. https://www.electricianoforlando.com

  3. Fd6ddd9192d99bde513c7fc291c14e4a?d=mm

    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

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.