Search Issue Tracker
Fixed in 2018.3.X
Votes
0
Found in
Issue ID
1058801
Regression
No
[LWRP] A problem with using multiple camera and setting Viewport Rect.
SRP Repo: Issue #1454
When using multiple camera and setting Viewport Rect, this problem will occur.
Setup a scene like a following:
1st Camera
Depth: 0
ViewportRect: 0, 0, 0.5, 1(x,y,w,h)
2nd Camera
Depth: 1
ViewportRect: 0.5, 0, 0.5, 1
1st Canvas
RenderMode: Screen Space - Camera
Camera
Depth: 2
ClearFlags: DepthOnly
ViewportRect: 0, 0, 0.5, 1
2nd Canvas and Canvas Camera
RenderMode: Screen Space - Camera
Camera
Depth: 3
ClearFlags: DepthOnly
ViewportRect: 0.5, 0, 0.5, 1
I think, it expects that 1st camera and canvas has rendered left side of screen and 2nd staff has renderied right side of screen.
If not using LWRP gets correct result.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment