Search Issue Tracker
Fixed in 2017.2.0f3
Fixed in 2017.1.X
Votes
1
Found in
5.6.0f3
Issue ID
903537
Regression
Yes
Secondary Cameras with RenderTextures do not render Lighting
If more than one Camera is set to render texture, then Spot Lights and Point Lights in any of the secondary Cameras will have no effect on objects in the scene.
To reproduce:
1. Download attached project "MultipleCameraLightingBug.zip" and open in Unity
2. Open "MultipleCameraLightingBug" scene
Expected result: Both Cameras receives Lighting
Actual result: Only one Camera receives Lighting
Note: This doesn't happen with Directional Light.
Note: If you build this project on Windows, problem still reproduces
Reproduced on Unity 5.6.0f2, 5.6.0f3 and 5.6.0p2
Not reproduced on Unity 5.5.3p1, 5.6.0p1 and 2017.1.0b1
Regression on Unity 5.6.0p2
Comments (3)
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
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
rempelj
May 13, 2017 18:13
Actually, I am only experiencing this if the camera's viewport rect is higher than some value. More info here: https://forum.unity3d.com/threads/bug-multiple-cameras-using-render-texture-only-first-camera-renders-lighting.470458/
rempelj
May 09, 2017 18:42
Experiencing this bug in 5.6.0p3.