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
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace 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.