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
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
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.