Search Issue Tracker

By Design

Votes

0

Found in

5.4.0p1

Issue ID

825696

Regression

No

multiple light spots cause other light spots to disappear

Global Illumination

-

There are 8 identical lamps in the scene, all of them have Light (Spot) component. Only half of the lamps work.

Steps to reproduce (or watch attached gif):
1. Open attached project
2. Open "_testLighting" scene
3. Notice only 4 spot lights even though there are 8 identical lamps
4. If you select "Lamp (4,5,6,7)/Not_Important/Rotate_Z_axis/Rotate_X_axis/GameObject" and disable Light component, other 4 lights appear

Note: you can also enter Play mode and press A/S keys to move the lamps(doesn't fix the bug)

Expected behavior: 8 lamps - 8 spot lights

Reproduced with: 5.2.4f1, 5.3.6p3, 5.4.0p2, 5.5.0a6

Comments (1)

  1. Jesper-Mortensen

    Sep 01, 2016 14:19

    In the forward rendering loop only a preset number of lights are rendered as pixel lights. This is defined in the Quality Settings (https://docs.unity3d.com/Manual/class-QualitySettings.html). In your scene Pixel Light Count is set to 4, increase this to 8 and all the lights will show up.

    You can also set the Render Mode on the light to Important, this will force the light to be rendered as a pixel light (https://docs.unity3d.com/Manual/class-Light.html).

    Alternatively use deferred rendering.

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.