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
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)
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
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.